You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Struct representing a frame of video data
struct Frame1 {
std::string path;
int frameIndex;
int videoSerial;
int depth;
bool highPriority; // Priority flag
bool confidential; // Confidential information flag
std::chrono::time_pointstd::chrono::steady_clock startTime;
Frame(std::string p, int idx, int serial, int d, bool priority, bool confidentialData)
: path(std::move(p)), frameIndex(idx), videoSerial(serial), depth(d), highPriority(priority), confidential(confidentialData),
startTime(std::chrono::steady_clock::now()) {}
// Struct representing a frame of video data
struct Frame1 {
std::string path;
int frameIndex;
int videoSerial;
int depth;
bool highPriority; // Priority flag
bool confidential; // Confidential information flag
std::chrono::time_pointstd::chrono::steady_clock startTime;
};
struct MyCompare1 {
bool operator()(Frame1* _a, Frame1* _b) const {
if (_a->highPriority != _b->highPriority && _a->highPriority == true)
return true; // High-priority frames firs
};
// High Priority Message Processing Test
TEST_F(SystemTest, HighPriorityMessageProcessingTest) {
tbb::concurrent_priority_queue<Frame1*, MyCompare1> frameQueue;
}
This test keep failing
The text was updated successfully, but these errors were encountered: