X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ftiming.h;h=d493cf1531ccb3ae86e770255027e28851c10514;hp=60456c07d6f4001ef3b5013b73fa436ea2d6bcec;hb=5ae2f74ba9b27bb7e926d5908471ac79371f7823;hpb=2da4a703da966708bb2e2bd4115ee9c348397667 diff --git a/include/yaz/timing.h b/include/yaz/timing.h index 60456c0..d493cf1 100644 --- a/include/yaz/timing.h +++ b/include/yaz/timing.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data. + * Copyright (C) 1995-2013 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -51,7 +51,7 @@ typedef struct yaz_timing *yaz_timing_t; do_work(); yaz_timing_stop(my); - printf("real=%g user=%g sys=%g\n", + printf("real=%g user=%g sys=%g\n", yaz_timing_get_real(my), yaz_timing_get_user(my), yaz_timing_get_sys(my)); @@ -71,7 +71,7 @@ void yaz_timing_start(yaz_timing_t t); /** \brief stop timer \param t timing handle - + Use yaz_timing_get_real, yaz_timing_get_user and yaz_timing_get_sys to fetch timing results. */