#include <sys/time.h>


Go to the source code of this file.
Defines | |
| #define | HT_MEASURE(_t_, _code_) |
| Copyright (C) 2007 Luke Lu (Zvents, Inc. | |
| #define | HT_CHECK(e) ((void)((e) ? 0 : HT_CHECK_FAIL(#e))) |
| #define | HT_CHECK_FAIL(e) |
Functions | |
| static double | ht_time_d () |
| #define HT_CHECK | ( | e | ) | ((void)((e) ? 0 : HT_CHECK_FAIL(#e))) |
Definition at line 38 of file test-helper.h.
| #define HT_CHECK_FAIL | ( | e | ) |
Value:
((void)printf("%s:%u: %s: bad assertion: `%s'\n", \ __FILE__, __LINE__, __FUNCTION__, e), abort(), 0)
Definition at line 41 of file test-helper.h.
| #define HT_MEASURE | ( | _t_, | |||
| _code_ | ) |
Value:
Copyright (C) 2007 Luke Lu (Zvents, Inc.)
This file is part of Hypertable.
Hypertable is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.
Hypertable is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Hypertable. If not, see <http://www.gnu.org/licenses/>
Definition at line 25 of file test-helper.h.
| static double ht_time_d | ( | ) | [inline, static] |
Definition at line 30 of file test-helper.h.
1.5.9