Equation Solution  
    High Performance by Design
Navigation Tree  

 
neuLoop  
'- - Basic Concept
'- - Limitations & Status
'- - Do Subroutine
'- - Functions
|     '- - nlp$use
|     '- - nlp$done
|     '- - nlp$staysoftcore
|     '- - nlp$loop
|     '- - nlp$syncloop
|     '- - nlp$barrier
|     '- - Parallel Locks
|     '- - nlp$getce
|     '- - User Times
'- - Where To Download
'- - Manual Tool!



Functions nlp$resetUserTimes
nlp$getUserTimes


SYNTAX

   call nlp$resetUserTimes
   call nlp$getUserTimes(elapsedTime, &
                                        & UserModeTime, &
                                        & KernelModeTime, &
                                        & TotalCPUTime)

where
1. elapsedTime, 4-byte real variable, returns elapsed time in second
2. UserModeTime, 4-byte real variable, returns CPU time in user mode in second
3. KernelModeTime, 4-byte real variable, returns CPU time in kernel mode in second
4. TotalCPUTime, 4-byte real variable, returns total CPU time in second

PURPOSE

        The function nlp$resetUserTimes initializes a process for collecting user times, and the function nlp$getUserTimes gets the time in second since the latest call to nlp$resetUserTime. For example,

!
! initialize timer
!
    call nlp$resetUserTimes
 
    !! do computing
   
!
! get the time to this instance
!
    call nlp$getUserTimes(elapsed_time, &
                                         & user_cpu_time,&
                                         & kernel_cpu_time, &)
                                         & total_cpu_time)