How I can use the CPU time as variable in java where I need to define a variable with dynamic value increase with time pass example
int cpuTime; first: cpuTime = 0 because but after 20 second cpuTime = 20 and after 60 second cpuTime= 60 and so on? where, i need to check some condition with time pass. example if cpuTime > p-10 do {}
Best regards