diff options
Diffstat (limited to 'src/profiler.c')
| -rw-r--r-- | src/profiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiler.c b/src/profiler.c index c86fb47d21d..64eb5cafc25 100644 --- a/src/profiler.c +++ b/src/profiler.c | |||
| @@ -267,8 +267,8 @@ setup_cpu_timer (Lisp_Object sampling_interval) | |||
| 267 | return NOT_RUNNING; | 267 | return NOT_RUNNING; |
| 268 | 268 | ||
| 269 | current_sampling_interval = XINT (sampling_interval); | 269 | current_sampling_interval = XINT (sampling_interval); |
| 270 | interval = make_emacs_time (current_sampling_interval / billion, | 270 | interval = make_timespec (current_sampling_interval / billion, |
| 271 | current_sampling_interval % billion); | 271 | current_sampling_interval % billion); |
| 272 | emacs_sigaction_init (&action, deliver_profiler_signal); | 272 | emacs_sigaction_init (&action, deliver_profiler_signal); |
| 273 | sigaction (SIGPROF, &action, 0); | 273 | sigaction (SIGPROF, &action, 0); |
| 274 | 274 | ||