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