Panda3D

Loading...
Searching...
No Matches
timerQueryContext.I
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file timerQueryContext.I
10 * @author rdb
11 * @date 2014-08-22
12 */
13
14/**
15 *
16 */
17INLINE TimerQueryContext::
18TimerQueryContext(int pstats_index) :
19 _pstats_index(pstats_index),
20 _frame_index(ClockObject::get_global_clock()->get_frame_count())
21{
22}
ClockObject
A ClockObject keeps track of elapsed real time and discrete time.
Definition clockObject.h:58