nl: has to be called before any event is being processed to check if the next interval has begun . concode_field_sep long end concode_elem_sep String outputFile concode_elem_sep FileAction fileAction concode_elem_sep List<Metric> metrics concode_elem_sep long intervalCounter concode_elem_sep ResultsWriter writer concode_elem_sep Metric time concode_elem_sep long interval concode_elem_sep Logger logger concode_elem_sep long start concode_field_sep void declareMetrics concode_elem_sep List<String> getMeasurementsFor concode_elem_sep void setAction concode_elem_sep void start concode_elem_sep void addMetric concode_elem_sep boolean isActive concode_elem_sep void setOutputFile concode_elem_sep List<String> getAllMetricsNames concode_elem_sep long timeFromIntervalCount concode_elem_sep void stop concode_elem_sep void setInterval concode_elem_sep void setStart concode_elem_sep void setEnd concode_elem_sep void progressIntervals
code: void function ( ) { if ( ! isActive ( ) ) return ; progressIntervals ( Simulator . getCurrentTime ( ) ) ; }