main: fix: pass static function to measureTime.