The category to create the task for.
The identifier of the task.
Gets the ProfilingRecords for the given categories. If none are provided, all records are returned.
The categories to get the records for.
A stream of profiling records.
Checks if the given category is active.
The category to check.
true if the category is active, false otherwise.
Starts the profiling for the given categories. If none are provided, all categories are started.
The categories to start profiling for.
Stops the profiling for the given categories. If none are provided, all categories are stopped.
The categories to stop profiling for.
Creates a new ProfilingTask for the given category.