Function mindspore::dataset::config::get_monitor_sampling_interval

Function Documentation

int32_t mindspore::dataset::config::get_monitor_sampling_interval()

A function to get the default interval of 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();

返回

Interval (in milliseconds) for performance monitor sampling.