Update Ghoul version

Add initial Tracy profiling macros
This commit is contained in:
Alexander Bock
2020-02-10 14:50:41 +01:00
parent 0b34c0bb9f
commit 49c793d976
40 changed files with 671 additions and 72 deletions

View File

@@ -26,6 +26,7 @@
#include <openspace/util/syncdata.h>
#include <ghoul/misc/assert.h>
#include <ghoul/misc/profiling.h>
#include <algorithm>
namespace openspace {
@@ -58,12 +59,16 @@ void SyncEngine::decodeSyncables(std::vector<char> data) {
}
void SyncEngine::preSynchronization(IsMaster isMaster) {
ZoneScoped
for (Syncable* syncable : _syncables) {
syncable->preSync(isMaster);
}
}
void SyncEngine::postSynchronization(IsMaster isMaster) {
ZoneScoped
for (Syncable* syncable : _syncables) {
syncable->postSync(isMaster);
}