{"id":72537,"library":"dterei-gotsc","title":"gotsc","description":"Provides access to the x86-64 timestamp cycle counter for high-precision benchmarking.","status":"active","version":"0.0.0-20160722215413-e78f872945c6","language":"go","source_language":null,"source_url":"https://github.com/dterei/gotsc","tags":["benchmarking","timestamp","x86-64","performance"],"install":[{"cmd":"go get github.com/dterei/gotsc","lang":"bash","label":"Install github.com/dterei/gotsc"}],"dependencies":[],"imports":[{"symbol":"gotsc","correct":"github.com/dterei/gotsc"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/dterei/gotsc\"\n)\n\nfunc main() {\n\tts := gotsc.TSCOverhead()\n\tfmt.Println(\"TSC overhead:\", ts)\n}","lang":"go","description":"Measures the overhead of reading the timestamp counter."},"warnings":[{"fix":"Ensure your code only uses this package on x86-64 systems, or handle zero values gracefully.","message":"On non-x86-64 platforms, all functions return 0.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'-64':7,19 'access':3 'benchmark':15,16 'counter':10 'cycl':9 'gotsc':1 'high':13 'high-precis':12 'perform':20 'precis':14 'provid':2 'timestamp':8,17 'x86':6,18","created_at":"2026-06-17T18:40:14.341270+00:00","updated_at":"2026-06-17T18:40:14.341270+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dterei/gotsc","github":"https://github.com/dterei/gotsc","docs":"https://pkg.go.dev/github.com/dterei/gotsc#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}