(defconst profiler-version "24.3")
-(defcustom profiler-sampling-interval 1
- "Default sampling interval in millisecond."
+(defcustom profiler-sampling-interval 1000000
+ "Default sampling interval in nanoseconds."
:type 'integer
:group 'profiler)
:group 'profiler)
(defvar profiler-report-cpu-line-format
- '((60 left)
- (14 right ((9 right)
+ '((50 left)
+ (24 right ((19 right)
(5 right)))))
(defvar profiler-report-memory-line-format
(cpu
(profiler-report-header-line-format
profiler-report-cpu-line-format
- "Function" (list "Time (ms)" "%")))
+ "Function" (list "CPU samples" "%")))
(memory
(profiler-report-header-line-format
profiler-report-memory-line-format