1IPC::Run3::ProfLogger(3U)ser Contributed Perl DocumentatiIoPnC::Run3::ProfLogger(3)
2
3
4
6 IPC::Run3::ProfLogger - write profiling data to a log file
7
9 use IPC::Run3::ProfLogger;
10
11 my $logger = IPC::Run3::ProfLogger->new; ## write to "run3.out"
12 my $logger = IPC::Run3::ProfLogger->new( Destination => $fn );
13
14 $logger->app_call( \@cmd, $time );
15
16 $logger->run_exit( \@cmd1, @times1 );
17 $logger->run_exit( \@cmd1, @times1 );
18
19 $logger->app_exit( $time );
20
22 Used by IPC::Run3 to write a profiling log file. Does not generate
23 reports or maintain statistics; its meant to have minimal overhead.
24
25 Its API is compatible with a tiny subset of the other IPC::Run
26 profiling classes.
27
29 "IPC::Run3::ProfLogger->new( ... )"
30 "$logger->run_exit( ... )"
31 "$logger->app_exit( $arg )"
32 "$logger->app_call( $t, @args)"
35 Copyright 2003, R. Barrie Slaymaker, Jr., All Rights Reserved
36
38 You may use this module under the terms of the BSD, Artistic, or GPL
39 licenses, any version.
40
42 Barrie Slaymaker <barries@slaysys.com>
43
44
45
46perl v5.30.1 2020-01-30 IPC::Run3::ProfLogger(3)