24 lines
390 B
Plaintext
24 lines
390 B
Plaintext
import system'calendar;
|
|
import system'routines;
|
|
import system'threading;
|
|
import system'math;
|
|
import extensions;
|
|
|
|
someProcess()
|
|
{
|
|
threadControl.sleep(1000);
|
|
|
|
new Range(0,10000).filterBy::(x => x.mod(2) == 0).summarize();
|
|
}
|
|
|
|
public program()
|
|
{
|
|
var start := now;
|
|
|
|
someProcess();
|
|
|
|
var end := now;
|
|
|
|
console.printLine("Time elapsed in msec:",(end - start).Milliseconds)
|
|
}
|