17fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin/*
2e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin * Copyright (C) 2013 Google Inc.
37fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin *
47fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * Licensed under the Apache License, Version 2.0 (the "License");
57fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * you may not use this file except in compliance with the License.
67fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * You may obtain a copy of the License at
77fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin *
87fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * http://www.apache.org/licenses/LICENSE-2.0
97fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin *
107fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * Unless required by applicable law or agreed to in writing, software
117fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * distributed under the License is distributed on an "AS IS" BASIS,
127fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
137fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * See the License for the specific language governing permissions and
147fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * limitations under the License.
157fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin */
167fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin
17e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinpackage com.google.caliper.api;
187fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin
19e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport static java.lang.annotation.ElementType.METHOD;
20e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport static java.lang.annotation.RetentionPolicy.RUNTIME;
217fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin
22e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport com.google.common.annotations.Beta;
237fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin
24e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport java.lang.annotation.Retention;
25e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport java.lang.annotation.Target;
267fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin
27e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin/**
28e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin * Apply this annotation to any method without parameters to have it run after each rep of a
29e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin * {@link Macrobenchmark}.
30e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin */
31e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin@Retention(RUNTIME)
32e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin@Target(METHOD)
33e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin@Beta
34e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinpublic @interface AfterRep {}
35