mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
813 B
51 lines
813 B
/*++
|
|
|
|
Copyright (c) 1991 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
crtprf.c
|
|
|
|
Abstract:
|
|
|
|
Apf profiling utilites.
|
|
These are utilies compiled into the profiling dll along
|
|
with the dummy api calls.
|
|
|
|
|
|
This dll exports apis with the same name as crtdll.dll with a 'Z' prefix.
|
|
|
|
The general form for an api call is:
|
|
|
|
ZAPI_NAME (Parameters)
|
|
{
|
|
- start the timer
|
|
- call API_NAME
|
|
- stop timer
|
|
- record the data
|
|
}
|
|
|
|
|
|
Author:
|
|
|
|
Revision History:
|
|
|
|
Mar 92, created by RezaB
|
|
Jul 92, Made common api32prf.c file -- RezaB
|
|
|
|
--*/
|
|
|
|
#include <string.h>
|
|
#include <io.h>
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
#include "windows.h"
|
|
#include "zwincrt.h"
|
|
#include "crtapi.h"
|
|
#include "api32prf.h"
|
|
|
|
//
|
|
// Include C file common to all the profiling dlls
|
|
//
|
|
#include "api32prf.c"
|