The global variable
jiffies holds the number of ticks that have occurred since the system booted. On boot, the kernel initializes the variable to zero, and it is incremented by one during each timer interrupt.
But how the kernel updates this value after waking up from suspend?
How the kernel calculates the time that it had conducted in suspend mode?