mcaceresb / stata-gtools

Faster implementation of Stata's collapse, reshape, xtile, egen, isid, and more using C plugins
https://gtools.readthedocs.io
MIT License
182 stars 38 forks source link

Gtools clears some timers without warning #49

Closed mcaceresb closed 5 years ago

mcaceresb commented 5 years ago

Describe the bug

Gtools uses timers 97 to 99 for benchmarks. If the user or another program opened those timers they will be cleared by gtools.

Code Sample

timer clear
timer on 99
timer on 98
timer on 97
timer list
clear
set obs 1
gen x = 1
gcollapse *
timer list

The second timer list prints nothing.

Version info