mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Add simple profiling class to accumulate Stmt usage stats across runs.
Use the BROFILER_FILE environment variable to point to a file in which Stmt usage statistics from Bro script-layer can be output. This should be able to be used to check Bro script coverage that that e.g. the entire test suite covers.
This commit is contained in:
parent
c8839da069
commit
8f8290c852
8 changed files with 181 additions and 1 deletions
|
@ -345,6 +345,7 @@ template<class T> int atoi_n(int len, const char* s, const char** end, int base,
|
|||
// Instantiate the ones we need.
|
||||
template int atoi_n<int>(int len, const char* s, const char** end, int base, int& result);
|
||||
template int atoi_n<int64_t>(int len, const char* s, const char** end, int base, int64_t& result);
|
||||
template int atoi_n<uint64_t>(int len, const char* s, const char** end, int base, uint64_t& result);
|
||||
|
||||
char* uitoa_n(uint64 value, char* str, int n, int base, const char* prefix)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue