MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / Compressor

Method Compressor

server/VGLTrans.h:74–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 public:
73
74 Compressor(int myRank_, VGLTrans *parent_) : bytes(0),
75 storedFrames(0), cframes(NULL), frame(NULL), lastFrame(NULL),
76 myRank(myRank_), deadYet(false), parent(parent_)
77 {
78 if(parent) nprocs = parent->nprocs;
79 ready.wait(); complete.wait();
80 char temps[20];
81 snprintf(temps, 20, "Compress %d", myRank);
82 profComp.setName(temps);
83 #ifdef USEHELGRIND
84 ANNOTATE_BENIGN_RACE_SIZED(&deadYet, sizeof(bool), );
85 #endif
86 }
87
88 virtual ~Compressor(void)
89 {

Callers

nothing calls this directly

Calls 2

setNameMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected