A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
ccache-miss-rate.py
Go to the documentation of this file.
1
#!/usr/bin/env python3
2
3
import
re
4
import
subprocess
5
6
ccache_misses_line = subprocess.check_output([
"ccache"
,
"--print-stats"
]).decode()
7
ccache_misses = int(re.findall(
"cache_miss(.*)"
, ccache_misses_line)[0])
8
print(ccache_misses)
utils
ccache-miss-rate.py
Generated on Fri Nov 8 2024 13:59:09 for ns-3 by
1.11.0