[ library(instprofile) | Reference Manual | Alphabetic Index ]
reset
Reset the profiling statistics for the calling context
module.
Description
This will reset the currently stored aggregated profiling results for
the calling context module.
The use of this predicate is only meaningful if the module has
previously been compiled for instrumentation profiling using
instprofile:statprofile/2,3, and the code has been
run in order to obtain profiling results.
The predicate is a tool and the profiling results of a
module other than the current calling module context can be obtained
by invoking reset@Module.
Modules
This predicate is sensitive to its module context (tool predicate, see @/2).
Fail Conditions
The calling context module has not been profiled.
Resatisfiable
no
See Also
statprofile / 2, statprofile / 3, open_delta_file / 1, close_delta_file / 0, result / 0, aggregate_result / 1, statistics / 2, library(instprofile)