joe shaw

lotta ins and outs

Miguel: Ah, I wasn’t using the “stat” mode for the profiler, only the “time” mode. I tried the MONO_RTC thing, though, and if I set that variable according to the manpage, I always get no profiling data. If I don’t set it, I get a bunch of info:

  1. echo 4096 > /proc/sys/dev/rtc/max-user-freq
    $ MONO_RTC=4096 MONO_EXTRA_ARGS=“—profile=default:stat” ./beagle-extract-content hugefile.sxc
    [blah blah blah]
    prof counts: total/unmanaged: 1/0
    Total time spent compiling 0 methods (sec): 0
    Total number of calls: 0

Is this a bug? Or am I just an idiot?

(The new tracing functionality using SIGUSR2 is great, btw. Very helpful.)