1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #include <test/callgrind.hxx>
12 #ifdef HAVE_VALGRIND_HEADERS
13 #include <valgrind/callgrind.h>
15 #define CALLGRIND_START_INSTRUMENTATION
16 #define CALLGRIND_ZERO_STATS
17 #define CALLGRIND_STOP_INSTRUMENTATION
18 #define CALLGRIND_DUMP_STATS_AT(name) (void)name;
24 CALLGRIND_START_INSTRUMENTATION
;
27 void callgrindDump(const char* name
)
29 CALLGRIND_STOP_INSTRUMENTATION
;
30 CALLGRIND_DUMP_STATS_AT(name
);
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */