piprofiler/plugins/GeneralsPlugin/src/MemSamplerImpl.cpp
branchRCL_3
changeset 49 7fdc9a71d314
parent 19 da2cedce4920
child 59 8ad140f3dd41
equal deleted inserted replaced
46:e26895079d7c 49:7fdc9a71d314
   337             {
   337             {
   338             LOGSTRING4("Marking chunk %d/%d, old tag 0x%x",i,(totalChunkCount-1), TAG(c));
   338             LOGSTRING4("Marking chunk %d/%d, old tag 0x%x",i,(totalChunkCount-1), TAG(c));
   339             // this chunk has not been tagged yet
   339             // this chunk has not been tagged yet
   340             name.Zero();
   340             name.Zero();
   341             c->TraceAppendName(name,false);
   341             c->TraceAppendName(name,false);
   342             const TUint8* ptr = name.Ptr();
       
   343             
   342             
   344             TAG(c) = (PROFILER_CHUNK_MARK);
   343             TAG(c) = (PROFILER_CHUNK_MARK);
   345             this->heapChunkNamesToReport[iNewChunkCount] = c;
   344             this->heapChunkNamesToReport[iNewChunkCount] = c;
   346             iNewChunkCount++;
   345             iNewChunkCount++;
   347             }
   346             }
   461             {
   460             {
   462             LOGSTRING4("Marking library %d/%d, old tag 0x%x",i,(totalLibCount-1), TAG(l));
   461             LOGSTRING4("Marking library %d/%d, old tag 0x%x",i,(totalLibCount-1), TAG(l));
   463             // this library has not been tagged yet
   462             // this library has not been tagged yet
   464             name.Zero();
   463             name.Zero();
   465             l->TraceAppendName(name,false);
   464             l->TraceAppendName(name,false);
   466             const TUint8* ptr = name.Ptr();
       
   467             
   465             
   468             TAG(l) = (PROFILER_LIBRARY_MARK);
   466             TAG(l) = (PROFILER_LIBRARY_MARK);
   469             this->libraryNamesToReport[iNewLibraryCount] = l;
   467             this->libraryNamesToReport[iNewLibraryCount] = l;
   470             iNewLibraryCount++;
   468             iNewLibraryCount++;
   471             }
   469             }