aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-10-01 23:30:40 -0700
committerPaul Eggert2012-10-01 23:30:40 -0700
commitb3ecad33ae977f9dd0bdd3e0a10cd8603f54a398 (patch)
tree9641b9d035dc733b9f3600557becdcb0ffc31290 /src/ChangeLog
parent8cb51b66fcb7a0954437108f8a1d05d6af6dcf89 (diff)
downloademacs-b3ecad33ae977f9dd0bdd3e0a10cd8603f54a398.tar.gz
emacs-b3ecad33ae977f9dd0bdd3e0a10cd8603f54a398.zip
Count overruns when profiling; change units to ns.
* lisp/profiler.el (profiler-sampling-interval): Change units from ms to ns, multiplying the default by 1000000 so that it remains 1 ms. (profiler-report-cpu-line-format): Give enough room for the maximum counters on 64-bit hosts. (profiler-report-render-calltree-1): Call them "CPU samples", not "Time (ms)", since they are not milliseconds now (and never really were). * src/profiler.c (handle_profiler_signal): Count sampling intervals, not ms. Give extra weight to samples after overruns, to attempt to count the time more accurately. (setup_cpu_timer): Change sampling interval units from ms to ns, since the underlying primitives nominally do ns. (Fprofiler_cpu_start): Document the change. Mention that the sampling intervals are only approximate.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a199a7b12e5..a7b35a8572d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2
3 Count overruns when profiling; change units to ns.
4 * profiler.c (handle_profiler_signal): Count sampling intervals, not ms.
5 Give extra weight to samples after overruns, to attempt to count
6 the time more accurately.
7 (setup_cpu_timer): Change sampling interval units from ms to ns, since
8 the underlying primitives nominally do ns.
9 (Fprofiler_cpu_start): Document the change. Mention that
10 the sampling intervals are only approximate.
11
12012-10-02 Stefan Monnier <monnier@iro.umontreal.ca> 122012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2 13
3 * frame.c (Fmake_terminal_frame): Prefer safer CONSP over !NILP. 14 * frame.c (Fmake_terminal_frame): Prefer safer CONSP over !NILP.