Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for wallTime (0.03 seconds)

  1. lib/wasm/wasm_exec.js

    					// func nanotime1() int64
    					"runtime.nanotime1": (sp) => {
    						sp >>>= 0;
    						setInt64(sp + 8, (timeOrigin + performance.now()) * 1000000);
    					},
    
    					// func walltime() (sec int64, nsec int32)
    					"runtime.walltime": (sp) => {
    						sp >>>= 0;
    						const msec = (new Date).getTime();
    						setInt64(sp + 8, msec / 1000);
    						this.mem.setInt32(sp + 16, (msec % 1000) * 1000000, true);
    					},
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
Back to Top