IPC::Ru...Reporter(3)
π NAME π
okay bestie, we're looking at IPC::Run3::ProfReporter(3) from the User Contributed Perl Documentation, and the NAME line is giving: IPC::Run3::ProfReporter β the base class for handling profiling data. periodt. π
β¨ SYNOPSIS β¨
No synopsis content on this page β it's literally blank, bestie. We move. π«Ά
πΈ DESCRIPTION πΈ
For an example subclass, see IPC::Run3::ProfPP. π
This class just notes and accumulates times; subclasses use methods like handle_app_call, handle_run_exit and handle_app_exit to emit reports on it. The default methods for these handlers are noops β yes, they just vibe and do nothing. π
If run from the command line, a reporter will be created and run on each logfile given as a command line parameter or on run3.out if none are given.
This allows reports to be run like:
perl -MIPC::Run3::ProfPP -e1
perl -MIPC::Run3::ProfPP -e1 foo.out bar.out
Use - to read from STDIN (the log file format is meant to be moderately greppable):
grep "^cvs " run3.out perl -MIPC::Run3::ProfPP -e1 -
Use --app to show only application level statistics (ie don't emit a report section for each command run). π
π₯ METHODS π₯
IPC::Run3::ProfReporter->newβ returns a new profile reporting object. β¨$reporter->handle_app_call( ... ),$reporter->handle_app_exit( ... ),$reporter->handle_run_exit( ... )β these methods are called by the handled events (see below). π«Ά$reporter->app_call(\@cmd, $time),$reporter->app_exit($time),$reporter->run_exit(@times)β the time-setting squad. Sets the time (in floating point seconds) when the application,run3(), orsystem()was called or exited. If no time parameter is passed, usesIPC::Run3's time routine. Useget_...()to retrieve these values (and_accumvalues, too). This is a separate method to speed the execution time of the setters just a bit.
Here's the little snippet sitting right there on the page:
$self->app_call( $time );
my $time = $self->get_app_call_time;
And the getters are:
$reporter->get_run_count()$reporter->get_app_call_time()$reporter->get_app_exit_time()$reporter->get_app_cmd()$reporter->get_app_time()$reporter->get_app_cumulative_time()$reporter->get_run_call_time()$reporter->get_run_exit_time()$reporter->get_run_time()$reporter->get_run_cumulative_time()$reporter->get_sys_call_time()$reporter->get_sys_exit_time()$reporter->get_sys_time()$reporter->get_sys_cumulative_time()$reporter->get_run_cmd()
π« LIMITATIONS π«
This section is literally empty on the page β no limitations listed. π«
π COPYRIGHT π
Copyright 2003, R. Barrie Slaymaker, Jr., All Rights Reserved
πͺͺ LICENSE πͺͺ
You may use this module under the terms of the BSD, Artistic, or GPL licenses, any version.
π AUTHOR π
Barrie Slaymaker <barries@slaysys.com>
π That's the whole page, bestie β brought to you by perl v5.42.0, dated 2024-03-08, and the footer is still serving IPC::Ru...Reporter(3). Stay iconic! π
π¦ where this page comes from
- opensuse-leap 16.0: perl-IPC-Run3 0.49.0-160000.2.2 Β· Artistic-1.0 OR BSD-2-Clause OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms