Nintendo 3DS CPU Profiler  4.05
 All Functions Enumerations Enumerator Groups Pages
void nnprofRuntimeControlSetSampleTime ( u32  time)

Sets the time between samples.

The value passed into this function will change depending on the sample type (selected in nnprofRuntimeControlSetSampleMethod).

When sampling by time the time parameter is the time to wait between samples in nanoseconds. For ease of use, there are a variety of preset values matching those found in the profiler GUI. These take the form NN_PROF_SETTINGS_?X, where ? is the number of times per frame to sample (for example, NN_PROF_SETTINGS_10X).

When sampling by performance counter the time parameter is the count the performance counter must reach before a sample is taken. Preset values based on the GUI will be added a later date.

Parameters
timeThe time to wait between samples.