X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ftiming.h;h=d493cf1531ccb3ae86e770255027e28851c10514;hp=66d82a774f550c87770ddf84dd170574e9d9729f;hb=4c1a14ddb2c650b935bc8dff4dc3f8a98ff7531c;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/include/yaz/timing.h b/include/yaz/timing.h index 66d82a7..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-2012 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. */