Commit Graph

16 Commits

Author SHA1 Message Date
91d2dfcd2d #include cleanup in Profiler.* 2016-08-31 19:07:23 +02:00
ab0b9d03ea Standardize header guards 2016-03-08 22:16:02 +01:00
7b45665e17 Added const qualifier to some APIs
A few casts back to non-const were necessary in order to keep the patch size
manageble.
2016-02-26 10:29:13 +01:00
782373867d Remove more gigabits (topic) code 2016-02-24 10:42:38 +01:00
0b98f2c337 Remove some unused methods/class. Minor restructuring of test files. 2015-12-10 12:12:50 +01:00
1357827cce Reworked timestamps, signal handlers, and profiling.
Instead of maintaining the global 'g_now' indirectly from signal handlers just
call gettimeofday(). This results in a small performance loss, but enables us
to get rid of the 1000/sec signal handler that is constantly eating
approcimately 2-3% CPU on new machines.

The overhead of gettimeofday() since linux kernel 2.6 is lowered beacuse it is a
vsyscall.

For profiling the dedicated SIGPROF signal is now used.

SIGALARM is no longer used.

SIGVTALARM is currently disabled because it is only needed for setting the
g_loop.m_needsToQuickPoll variable, which in this fork is non-functional and
unneeded. It may be revided in the future if it turns out quickpolls are needed.
2015-11-11 13:25:53 +01:00
8ac561e1ab turn off profiler automatically after 60 seconds.
print red box if profiler is running.
2015-09-10 13:37:14 -06:00
db26c7ed76 more fixes for profiler. 2015-01-20 17:02:10 -07:00
52bf9f1ff0 integrate missed quickpolls into profiler so we can
decrease overall latency.
2015-01-20 15:38:42 -07:00
a5c663670e built-in profiler now much better. works
on 64bit too. uses addr2line. now we can
speed things up easier.
2015-01-20 14:33:32 -07:00
ef7b0c54fd log stack trace on core/segfault. 2015-01-10 12:05:39 -08:00
4c19453ea9 working with -m32 for basic testing.
compiles for 64-bit.
2014-11-12 11:38:37 -08:00
96b8197ad3 now it compiles with -m32 2014-11-10 14:45:11 -08:00
e7dd8f7956 replace long long with int64_t 2014-10-30 13:36:39 -06:00
b13f3d24d7 replaced unsigned long long with uint64_t 2014-10-30 13:30:39 -06:00
f6e560c1f4 Initial file population. 2013-08-02 13:12:24 -07:00