Function mindspore::dataset::config::get_monitor_sampling_interval
Defined in File config.h
Function Documentation
-
int32_t mindspore::dataset::config::get_monitor_sampling_interval()
A function to get the default interval of performance monitor sampling.
- Returns
Interval (in milliseconds) for performance monitor sampling.
Example// Get the global configuration of monitor sampling interval. // If set_monitor_sampling_interval() is never called before, the default value(1000) will be returned. int32_t sampling_interval = config::get_monitor_sampling_interval();