Back to index

php5  5.3.10
Classes | Defines
mysqli_report.h File Reference
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/time.h>

Go to the source code of this file.

Classes

struct  PR_TIME_INFO

Defines

#define MYSQLI_PR_REPORT_STDERR   1
#define MYSQLI_PR_REPORT_PORT   2
#define MYSQLI_PROFILER_STARTTIME(ptr)   if (MyG(profiler.mode)) gettimeofday(&ptr.starttime, NULL)
#define MYSQLI_PROFILER_ENDTIME(ptr)   if (MyG(profiler.mode)) gettimeofday(&ptr.endtime, NULL)
#define MYSQLI_PROFILER_REPORT(_type, _time, ptr)   if (MyG(profiler.mode)) php_mysqli_profiler_report(_type, _time, (void *)ptr)

Class Documentation

struct PR_TIME_INFO

Definition at line 36 of file mysqli_report.h.


Define Documentation

#define MYSQLI_PR_REPORT_PORT   2

Definition at line 43 of file mysqli_report.h.

#define MYSQLI_PR_REPORT_STDERR   1

Definition at line 42 of file mysqli_report.h.

#define MYSQLI_PROFILER_ENDTIME (   ptr)    if (MyG(profiler.mode)) gettimeofday(&ptr.endtime, NULL)

Definition at line 49 of file mysqli_report.h.

#define MYSQLI_PROFILER_REPORT (   _type,
  _time,
  ptr 
)    if (MyG(profiler.mode)) php_mysqli_profiler_report(_type, _time, (void *)ptr)

Definition at line 50 of file mysqli_report.h.

#define MYSQLI_PROFILER_STARTTIME (   ptr)    if (MyG(profiler.mode)) gettimeofday(&ptr.starttime, NULL)

Definition at line 48 of file mysqli_report.h.