1 package IPC::Run3::ProfArrayBuffer;
7 IPC::Run3::ProfArrayBuffer - Store profile events in RAM in an array
21 =item C<< IPC::Run3::ProfArrayBuffer->new() >>
26 my $class = ref $_[0] ? ref shift : shift;
28 my $self = bless { @_ }, $class;
35 =item C<< $buffer->app_call(@events) >>
37 =item C<< $buffer->app_exit(@events) >>
39 =item C<< $buffer->run_exit(@events) >>
41 The three above methods push the given events onto the stack of recorded
46 for my $subname ( qw(app_call app_exit run_exit) ) {
49 push @{shift->{Events}}, [ $subname => @_ ];
55 Returns a list of all the events. Each event is an ARRAY reference
58 [ "app_call", 1.1, ... ];
73 Copyright 2003, R. Barrie Slaymaker, Jr., All Rights Reserved
77 You may use this module under the terms of the BSD, Artistic, or GPL licenses,
82 Barrie Slaymaker E<lt>barries@slaysys.comE<gt>