Public Member Functions | Public Attributes

xl7::runtime::Sample Class Reference

#include <Sample.h>

List of all members.

Public Member Functions

const cl7::string_typeget_name () const
bool is_open () const
unsigned get_call_count () const
float get_total_time () const
float get_child_time () const
Sampleget_parent () const
unsigned get_parent_count () const
float get_min_pc () const
float get_max_pc () const
float get_avg_pc () const
unsigned get_data_count () const

Public Attributes

friend SampleHandler

Member Function Documentation

float xl7::runtime::Sample::get_avg_pc (  )  const [inline]

Returns the average percentage of main loop time taken up.

unsigned xl7::runtime::Sample::get_call_count (  )  const [inline]

Returns the number of times this sample has been executed (profiled).

float xl7::runtime::Sample::get_child_time (  )  const [inline]

Returns the total time (in seconds) taken by children of this sample.

unsigned xl7::runtime::Sample::get_data_count (  )  const [inline]

Returns the number of times values have been stored since sample creation/reset.

float xl7::runtime::Sample::get_max_pc (  )  const [inline]

Returns the maximum percentage of main loop time taken up.

float xl7::runtime::Sample::get_min_pc (  )  const [inline]

Returns the minimum percentage of main loop time taken up.

const cl7::string_type& xl7::runtime::Sample::get_name (  )  const [inline]

Returns the name of this sample.

Sample* xl7::runtime::Sample::get_parent (  )  const [inline]

Returns the direct parent of this sample.

unsigned xl7::runtime::Sample::get_parent_count (  )  const [inline]

Returns the number of parents this sample has.

float xl7::runtime::Sample::get_total_time (  )  const [inline]

Returns the total time (in seconds) recorded across all executions of this sample.

bool xl7::runtime::Sample::is_open (  )  const [inline]

Returns the flag specifying whether this sample is currently being profiled.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines