timeset and timestop subroutines in CP2K

32 views
Skip to first unread message

Margherita

unread,
Jun 1, 2022, 11:59:09 AM6/1/22
to cp2k
Hello everyone,
I realise this a rather technical question concerning the code itself, but I am trying to understand how the timeset and timestop subroutines in CP2K. Is there anyone who could help me with that?

Many thanks, 
Margherita 

Krack Matthias (PSI)

unread,
Jun 1, 2022, 12:33:29 PM6/1/22
to cp...@googlegroups.com

Hi Margherita

 

CALL timeset(“my_timer”, handle) creates a timer with the name “my_timer” and an integer identifier “handle” and starts the timer.

CALL timestop(handle) stops that timer and adds the time spent between the two calls to the timer “my_timer”.

If the timer exists already, then the new time slice is added to the existing accumulator of that timer and its call counter is incremented.

The information for the timer is printed at the end of the CP2K output (final timing report), if the accumulated time is above the chosen threshold value.

 

HTH

 

Matthias

--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/f7677fa7-69c1-4585-9ad6-43ac54f889c9n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages