com.artemis.annotations.Profile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artemis-odb Show documentation
Show all versions of artemis-odb Show documentation
Fork of Artemis Entity System Framework.
package com.artemis.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.artemis.utils.ArtemisProfiler;
/**
* Profile EntitySystems with user-specified profiler class, implementing ArtemisProfiler.
*
* Injects conditional profiler call at start of begin()
and before any exit
* point in end()
.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.CLASS)
@Documented
public @interface Profile
{
Class extends ArtemisProfiler> using();
boolean enabled() default true;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy