To control the amount of data collected in an experiment, choose one or more of the following methods:
If you increase these values, the amount of data decreases, but the quality of the data also decreases. If you decrease these values the collection overhead increases. Choose the smallest values for which you can record an experiment without significant collection overhead. The default values are chosen to optimize the data quality against the data collection volume and overhead.
If you know in advance that you are only interested in a particular section of the program, you can use the dbx commands collector pause and collector resume in conjunction with breakpoints to turn off and turn on data collection, or you can insert calls to the collector_pause() and collector_resume()API functions into your program.
If you only want an experiment on part of a run, you can use the dbx commands collector enable and collector disable to limit the length of the experiment. If the program is already running, you can attach dbx to it, collect data and then detach.
You can choose a limit in the Collector window or using the dbx command collector limit.
See also | |
---|---|
Estimating the Experiment Size Limiting the Scope of an Experiment Choosing a Value For the Profiling Interval Collecting Performance Data |