blob: 13da175710f4bd196fd886b09967fd8167dc23cb [file] [log] [blame]
Ben Tyner0205f3b2020-02-24 10:24:47 -06001#include <hei_main.hpp>
2
3namespace analyzer
4{
5
Ben Tynerb859d792020-05-06 21:29:47 -05006/** Analyze error condition using the hardware error isolator */
Ben Tyner0205f3b2020-02-24 10:24:47 -06007void analyzeHardware()
8{
Ben Tynerb859d792020-05-06 21:29:47 -05009 using namespace libhei;
10
11 std::vector<Chip> chipList; // data to isolator
12 IsolationData isoData{}; // data from isolator
13
14 // TEMP CODE - start
15 initialize(nullptr, 0);
16
17 chipList.emplace_back(Chip{"proc", static_cast<ChipType_t>(0xdeadbeef)});
18
19 isolate(chipList, isoData);
20
21 uninitialize();
22 // TEMP CODE - end
Ben Tyner0205f3b2020-02-24 10:24:47 -060023}
24
25} // namespace analyzer