Skip to content

Commit

Permalink
#8 php.ini can display with interval and depth configuration
Browse files Browse the repository at this point in the history
php.ini can display with interval and depth configuration
  • Loading branch information
longxinH committed May 2, 2018
1 parent c359e88 commit f744262
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ extension = xhprof.so
xhprof.output_dir = /tmp/xhprof
```

### php.ini configuration
|     Options       |      Defaults     |   Explain    |
| --------------- |:-------------:|:---------|
|xhprof.output_dir  | "" | Output directory|
|xhprof.sampling_interval  | 100000 | Sampling interval to be used by the sampling profiler, in microseconds|
|xhprof.sampling_depth  | 2147483647 | Depth to trace call-chain by the sampling profiler|

# Added
### PDO::exec
### PDO::query
Expand Down
1 change: 1 addition & 0 deletions extension/xhprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ PHP_MINFO_FUNCTION(xhprof)
php_info_print_table_header(2, "xhprof support", "enabled");
php_info_print_table_row(2, "Version", XHPROF_VERSION);
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
}


Expand Down

0 comments on commit f744262

Please sign in to comment.