29 _client->get_impl()->new_frame(_index);
40 _client->get_impl()->add_frame(_index, frame_data);
51 return _client->get_thread_object(_index);
Contains the raw timing and level data for a single frame.
get_thread
Returns the Panda Thread object associated with this particular PStatThread.
void new_frame()
This must be called at the start of every "frame", whatever a frame may be deemed to be,...
void add_frame(const PStatFrameData &frame_data)
This is a slightly lower-level version of new_frame that also specifies the data to send for this fra...
A thread; that is, a lightweight process.
get_current_thread
Returns a pointer to the currently-executing Thread object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.