Ignore:
Timestamp:
Oct 12, 2001, 2:49:51 AM (24 years ago)
Author:
phaller
Message:

improvement of profiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winexepeldr.cpp

    r5262 r7025  
    1 /* $Id: winexepeldr.cpp,v 1.15 2001-02-24 12:59:44 sandervl Exp $ */
     1/* $Id: winexepeldr.cpp,v 1.16 2001-10-12 00:49:23 phaller Exp $ */
    22
    33/*
     
    3939#define DBG_LOCALLOG    DBG_winexepeldr
    4040#include "dbglocal.h"
     41
     42
     43#ifdef PROFILE
     44#include <perfview.h>
     45#endif /* PROFILE */
     46
    4147
    4248extern char szErrorTitle[];
     
    141147  }
    142148  OS2UnsetExceptionHandler(&exceptFrame);
    143 
     149 
     150#ifdef PROFILE
     151  // Note: after this point, we might start collecting performance
     152  // information about the called functions.
     153  PerfView_Initialize();
     154#endif /* PROFILE */
     155 
     156 
    144157  WinExe->start();
    145158
Note: See TracChangeset for help on using the changeset viewer.