Skip to content

Commit

Permalink
shareBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Aug 16, 2024
1 parent e592103 commit 1a80554
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/minos/mclient/evbuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,12 +441,6 @@ int EventBuilder_ProcessBuffer(EventBuilder* eb, void* bu) {
// timeStart + ShMem_DaqInfo->timeStamp; printf(
// "Event time added : %lf\n",
// ShMem_DaqInfo->timeStamp ); printf( "-----\n");
SemaphoreGreen(SemaphoreId);
}

// this should be called at the end of each event
{
/*

auto& prometheusManager = mclient_prometheus::PrometheusManager::Instance();
auto& storageManager = mclient_storage::StorageManager::Instance();
Expand Down Expand Up @@ -481,7 +475,8 @@ int EventBuilder_ProcessBuffer(EventBuilder* eb, void* bu) {
// Avoid drawing too often
graphManager.DrawEvent(storageManager.event);
}
*/

SemaphoreGreen(SemaphoreId);
}

// Save data to file
Expand Down

0 comments on commit 1a80554

Please sign in to comment.