Sam Edwards
7e61891c09
general: Fix more DLL linkage and EXPCL_PANDA_ macros
2018-06-12 16:14:33 -06:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
rdb
0bb81a43c9
express: make a thread safe weak pointer implementation ( #321 )
...
To access a WeakPointerTo in a thread-safe way, use something like this:
if (auto ptr = weak_ptr.lock()) {
..use ptr as regular PointerTo
}
The new implementation no longer needs a reference to be stored to all weak pointers on the WeakReferenceList; a mere count of weak pointers is sufficient. Therefore, callbacks theoretically no longer require a WeakPointerTo to be constructed.
The WeakPointerTo class is not actually atomic; it could be made so, but I don't believe it's worth it at this time.
2018-05-15 13:40:21 +02:00
rdb
9963fe2c3c
Fix a couple of compile warnings, reduce unnecessary includes
2016-06-23 22:59:50 +02:00
rdb
ce29ae490d
Interrogate improvements, more properties, MAKE_SEQ_PROPERTY
2016-05-11 00:16:53 +02:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
db0fd516a0
Add GPU profiling capabilities to PStats using OpenGL timer queries
2014-09-24 23:53:37 +00:00
David Rose
539b61571c
guarantee word alignment for AtomicAdjust stuff
2011-11-17 23:31:31 +00:00
David Rose
cb9b0f075d
PStats should use doubles consistently
2011-10-27 18:39:27 +00:00
David Rose
501470169f
stdfloat_double
2011-10-10 05:25:10 +00:00
David Rose
574403a39f
fix pstats mutex leaking
2009-01-22 00:17:07 +00:00
David Rose
58e0537e3c
wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion
2008-11-07 21:12:42 +00:00
David Rose
d4c2c9858d
SIMPLE_THREADS_NO_MUTEX -> LightMutex
2008-10-08 23:23:40 +00:00
David Rose
9198427dbc
remove unreliable 'interpreter' memory category
2008-07-17 22:38:50 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
David Rose
d85b062b2d
don't limit counters to 32-bit
2007-11-21 22:42:56 +00:00
Zachary Pavlov
220d33e006
okay, this is going to be a big commit. The basic idea here is to add transparent defines to allow for directory based dlls later. This will let us build tau again. ugggg
2007-07-20 23:02:51 +00:00
David Rose
04a5308b57
make thread block time explicit in pstats
2007-07-01 18:48:50 +00:00
David Rose
385e7be325
still more meminfo fixes
2007-06-29 15:53:27 +00:00
David Rose
d52eb37b14
move some low-level mem tracking into MemoryHook, more mem tracking fixes
2007-06-29 01:39:09 +00:00
David Rose
8b76075133
repair pstats mem tracking
2007-06-28 04:12:14 +00:00
David Rose
5deb8767f9
start and stop pstats info from suspended tasks (SIMPLE_TASKS only)
2007-06-26 22:38:18 +00:00
David Rose
5f1b029f42
NeverFreeMemory
2007-06-14 23:15:14 +00:00
David Rose
d87cae471d
more better pstats mem tracking
2007-05-10 14:40:52 +00:00
David Rose
0c5b3eb47c
add inline tags
2007-04-10 18:02:28 +00:00
David Rose
4c376a37f3
add missing thread_tick in the !DO_PSTATS case
2007-04-10 17:55:05 +00:00
David Rose
26b20ce4ac
pstats tracking for texture and vertex data on main memory
2006-11-02 19:31:03 +00:00
David Rose
70f9db5ec4
add ClockObject::M_integer and M_integer_limited; pstats clock wait
2006-10-20 17:38:22 +00:00
David Rose
ddd1046462
factor out Thread::get_current_thread() some more
2006-04-26 07:31:23 +00:00
David Rose
889228f403
name mutexes for debugging; better UpdateSeq thread behavior
2006-04-09 23:23:15 +00:00
David Rose
9e986fce40
make PStats more thread-friendly
2006-04-09 20:17:26 +00:00
David Rose
91efb72ca7
move threading/pipelining stuff into new directory, reorganize in general
2006-03-28 23:59:32 +00:00
David Rose
b7ceab1bff
integrate PStatThread and Thread; better thread handling in GraphicsEngine::render_frame()
2006-01-31 18:59:49 +00:00
David Rose
8567173ece
more threading issues
2006-01-16 15:42:28 +00:00
David Rose
84bcfefc13
defer creation of PStatCollectorDef
2004-12-23 19:54:46 +00:00
David Rose
db8cdc119d
split out PStatClientImpl
2004-12-23 19:10:35 +00:00
David Rose
dbb24d9cc9
phash_map, etc.
2004-10-02 05:07:16 +00:00
David Rose
3706822aae
support pstats-tcp-ratio, tcp by default
2004-09-03 19:22:22 +00:00
Darren Ranalli
9ff0f4d8a8
publish main_tick (for AI stats)
2004-06-05 01:16:33 +00:00
David Rose
be6354f9ef
bracket a few more low-level things with pstats
2004-02-18 18:21:00 +00:00
David Rose
843c0331ae
update license, change remaining local #includes to use quotation marks
2004-02-13 19:27:33 +00:00
Dave Schuyler
f8efe985d2
changed includes to use application path
2003-10-28 06:10:41 +00:00
David Rose
e8c032b84c
whoops, virtual function changed signature
2003-05-07 01:28:03 +00:00
David Rose
34c695359e
don't ask for the time unless stats are running
2001-07-16 21:41:52 +00:00
David Rose
543b7283b9
stop pstats when stopped at prompt
2001-06-15 22:18:51 +00:00
David Rose
e14e69dce0
add retained mode rendering infrastructure
2001-06-12 23:54:03 +00:00
David Rose
28fffee547
pvector, pmap, etc.
2001-06-06 00:55:53 +00:00
David Rose
1804939a70
publish PStatCollectors
2001-05-31 01:43:07 +00:00
David Rose
2f4e207edb
Update copyright header
2001-05-25 21:27:38 +00:00
David Rose
fcb24f02ef
remove tab characters
2001-05-25 15:56:49 +00:00