15 #ifndef PSTATFRAMEDATA_H
16 #define PSTATFRAMEDATA_H
18 #include "pandabase.h"
38 INLINE
bool is_time_empty()
const;
39 INLINE
bool is_level_empty()
const;
40 INLINE
bool is_empty()
const;
44 INLINE
void add_start(
int index,
double time);
45 INLINE
void add_stop(
int index,
double time);
46 INLINE
void add_level(
int index,
double level);
50 INLINE
double get_start()
const;
51 INLINE
double get_end()
const;
52 INLINE
double get_net_time()
const;
54 INLINE
int get_num_events()
const;
55 INLINE
int get_time_collector(
int n)
const;
56 INLINE
bool is_start(
int n)
const;
57 INLINE
double get_time(
int n)
const;
59 INLINE
int get_num_levels()
const;
60 INLINE
int get_level_collector(
int n)
const;
61 INLINE
double get_level(
int n)
const;
69 INLINE
bool operator < (
const DataPoint &other)
const;
76 Data _time_data, _level_data;
79 #include "pStatFrameData.I"
Records the version number of a particular client.
Contains the raw timing and level data for a single frame.
A class to retrieve the individual data elements previously stored in a Datagram. ...
Manages the communications to report statistics via a network connection to a remote PStatServer...
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...