Ejemplo n.º 1
0
        public void AddChunkToProcess(ParserParagraph aParagraph, ParserFieldName aParameterName, uint aParameterValue)
        {
            System.Diagnostics.Debug.Assert(aParagraph.Tag is DProcess);
            DProcess process = (DProcess)aParagraph.Tag;
            ProcessChunkCollection chunks = process.Chunks;
            //
            ProcessChunk chunk = new ProcessChunk(process.CrashDebugger, aParameterValue, 0);

            chunks.Add(chunk);
        }
Ejemplo n.º 2
0
        public void SetChunkAccessCount(ParserParagraph aParagraph, ParserFieldName aParameterName, int aParameterValue)
        {
            System.Diagnostics.Debug.Assert(aParagraph.Tag is DProcess);
            DProcess process = (DProcess)aParagraph.Tag;
            ProcessChunkCollection chunks = process.Chunks;
            //
            int count = chunks.Count;

            if (count > 0)
            {
                ProcessChunk lastEntry = chunks[count - 1];
                lastEntry.AccessCount = aParameterValue;
            }
        }