Help using Base SAS procedures

Diff between CPU Time and Real Time in log

Reply
Regular Contributor
Posts: 229

Diff between CPU Time and Real Time in log

If i run a dataset we will find CPU Time and Real Time in log window after execution.


NOTE: There were 4 observations read from the data set WORK.AS.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.18 seconds
cpu time 0.00 seconds

what is the difference and what is it.
SAS Employee
Posts: 19

Re: Diff between CPU Time and Real Time in log

Real time is actual clock time it took to execute the proc print. It can change depending on system capacity and current load.

CPU time is the processing time the CPU used to execute the procedure. It's not supposed to depend on load factors.

That 4 observation data step is so short that it required less than 1/100 of a second in CPU time for the print procedure, so the CPU time is showing up as 0:00.

Does this answer your question?
Ask a Question
Discussion stats
  • 1 reply
  • 1276 views
  • 1 like
  • 2 in conversation