« first day (1113 days earlier)
← previous day
next day →
last day (1381 days later) »
mınxomaτ
12:46 PM
@Dennis Please add LuaJIT and resty (
github.com/openresty/resty-cli
) for running Lua programs. Both are different environments than Lua.
4 hours later…
noɥʇʎԀʎzɐɹƆ
4:31 PM
@Dennis That should work. The global script installs LDC to ~/dlang, and I also tested the script inside an Ubuntu VM.
Thanks!!
4 hours later…
noɥʇʎԀʎzɐɹƆ
8:55 PM
unsigned long rdpmc_actual_cycles()
{
unsigned a, d, c;
c = (1<<30)+1;
__asm__ volatile("rdpmc" : "=a" (a), "=d" (d) : "c" (c));
return ((unsigned long)a) | (((unsigned long)d) << 32);;
}
for short-lived
fastest-code
programs, you could read the cycle counter
unsigned long is as least 8billion big, so at least 8 billion cycles
« first day (1113 days earlier)
← previous day
next day →
last day (1381 days later) »
all rooms
Transcript for
Sep
8
Sep '19
9
Sep
11
talk.tryitonline.net
For general discussion and feature requests regarding
tryitonl...
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile