On Tue, 16 Jul 2002, Andrew Sundelin wrote:
> In 2.7.6, when I set a phase's log_stats to false I appear to get
> data in the make_report's report graphs during the time periods
> when log_stats=false.
>
> The reference says: "Finally, the log_stats flag tells Polygraph
> if statistics collected during the phase should be recorded in a
> log file. This flag defaults to true."
>
> Does the data actually get recorded (and thus shows up in the
> graphs), but is flagged so that lx does not extract it from the
> log file? Or are no statistics logged during this phase
> whatsoever?
The log_stats option affects logging of so called "phase statistics"
only. Phase statistics are aggregated on a phase basis and used to
generate most of the tables you see on your report. Run-time stats are
aggregated every --stats_cycle (5 sec default), are always logged, and
are used to generate graphs on your report.
The only reason to use log_stats option is to save disk space for
binary logs. Phase statistics is what makes binary logs big,
especially for short tests with many phases.
Note that you can tell reporter to generate reports based on selected
phases using the --phases option of lx, via --log_extractor_opts
option of label_results. There is currently no way to restrict trace
generation to a given phase. This functionality will be available in
version 2.8 of Polygraph, along with a new reporter tool.
Alex.
This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:24 MST