CMSIS-DSP: Testing framework
Added some calibration to remove overhead in the benchmark measurement process. Reorganized one test to move some initialization code outside of the test.pull/19/head
parent
dc60f80ccd
commit
69f0f0f7bc
@ -0,0 +1,10 @@
|
|||||||
|
#include "Test.h"
|
||||||
|
#include "Pattern.h"
|
||||||
|
class Calibrate:public Client::Suite
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Calibrate(Testing::testID_t id);
|
||||||
|
void empty();
|
||||||
|
void setUp(Testing::testID_t,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr);
|
||||||
|
void tearDown(Testing::testID_t,Client::PatternMgr *mgr);
|
||||||
|
};
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
#include "Calibrate.h"
|
||||||
|
|
||||||
|
Calibrate::Calibrate(Testing::testID_t id):Client::Suite(id)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void Calibrate::empty()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void Calibrate::setUp(Testing::testID_t,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void Calibrate::tearDown(Testing::testID_t,Client::PatternMgr *mgr)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue