1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-08 16:19:05 +00:00

Add profile support: show function call time

This commit is contained in:
plt
2011-12-25 15:30:15 +08:00
parent 22479b384c
commit 0b0d51accd
3 changed files with 32 additions and 2 deletions

View File

@@ -17,7 +17,18 @@ contains three fields:
* **err_msg**: error message. This field is only set if the RPC function
reports an error.
Compile
=======
Just
./autogen.sh; ./configure; make; make install
To enable profile, Use
CFLAGS="-DPROFILE" ./configure
When profile is enabled, the time spend in each rpc call will be printed.
Example
=======