memory benchmark + app exit code test + thread scheduler observations.
This commit is contained in:
@@ -83,7 +83,8 @@ void test_steps( F f , char * p, const size_t c, char * nm )
|
||||
#endif
|
||||
|
||||
static const size_t GB = 1024L*1024L*1024L;
|
||||
static const size_t L3CACHE = 4*1024*1024;
|
||||
static const size_t MB = 1024L*1024L;
|
||||
static const size_t L3CACHE = 20*MB;
|
||||
|
||||
class tests
|
||||
{
|
||||
@@ -101,7 +102,7 @@ public:
|
||||
std::vector<duration_type> res;
|
||||
|
||||
public:
|
||||
tests( size_t _ws = GB )
|
||||
tests( size_t _ws = 4*GB )
|
||||
: workset(_ws)
|
||||
, cnt(workset/sizeof(elem_type))
|
||||
, mem((elem_type*)malloc( workset ))
|
||||
|
||||
Reference in New Issue
Block a user