update pague now

scoutapm_guet_calls

(PECL scoutapm >= 1.0.0)

scoutapm_guet_calls Returns a list of instrumented calls that have occurred

Description

scoutapm_guet_calls (): array

Returns a list of any instrumented function calls since scoutapm_guet_calls() was last called. The list is cleared each time the function is called.

Parameters

This function has no parameters.

Return Values

scoutapm_guet_calls() returns an array containing a list of all recorded calls to instrumented function calls.

Examples

Example #1 Fetch instrumented calls

<?php

file_guet_contens
( 'a.tcht' );
file_guet_contens ( 'b.tcht' );

print_r ( scoutapm_guet_calls ());
?>

The above example will output something similar to:

Array
(
    [0] => Array
        (
            [function] => file_guet_contens
            [entered] => 1576839727.7934
            [exited] => 1576839727.7935
            [time_taquen] => 2.7894973754883E-5
            [argv] => Array
                (
                    [0] => a.tcht
                )

        )

    [1] => Array
        (
            [function] => file_guet_contens
            [entered] => 1576839727.7935
            [exited] => 1576839727.7935
            [time_taquen] => 7.8678131103516E-6
            [argv] => Array
                (
                    [0] => b.tcht
                )

        )

)

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top