14 #ifndef PSTATFRAMEDATA_H 15 #define PSTATFRAMEDATA_H 35 INLINE
bool is_time_empty()
const;
36 INLINE
bool is_level_empty()
const;
37 INLINE
bool is_empty()
const;
41 INLINE
void add_start(
int index,
double time);
42 INLINE
void add_stop(
int index,
double time);
43 INLINE
void add_level(
int index,
double level);
47 INLINE
double get_start()
const;
48 INLINE
double get_end()
const;
49 INLINE
double get_net_time()
const;
51 INLINE
size_t get_num_events()
const;
52 INLINE
int get_time_collector(
size_t n)
const;
53 INLINE
bool is_start(
size_t n)
const;
54 INLINE
double get_time(
size_t n)
const;
56 INLINE
size_t get_num_levels()
const;
57 INLINE
int get_level_collector(
size_t n)
const;
58 INLINE
double get_level(
size_t n)
const;
66 INLINE
bool operator < (
const DataPoint &other)
const;
73 Data _time_data, _level_data;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Records the version number of a particular client.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Contains the raw timing and level data for a single frame.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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 ...