eulermark: fix testing logic, change ~str for Strbuf
eulermark: improve time resolution in the picosecond range