mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-08 18:34:00 +00:00
Discussion of these changes can be found on the Mercury developers
mailing list archives from June 2018.
COPYING.LIB:
Add a special linking exception to the LGPL.
*:
Update references to COPYING.LIB.
Clean up some minor errors that have accumulated in copyright
messages.
27 lines
779 B
C
27 lines
779 B
C
// vim: ts=4 sw=4 expandtab ft=c
|
|
|
|
// Copyright (C) 2001 The University of Melbourne.
|
|
// Copyright (C) 2016, 2018 The Mercury team.
|
|
// This file is distributed under the terms specified in COPYING.LIB.
|
|
|
|
#ifndef MERCURY_PROF_TIME_H
|
|
#define MERCURY_PROF_TIME_H
|
|
|
|
#define MR_CLOCK_TICKS_PER_PROF_SIG 5
|
|
#define MR_USEC_PER_SEC 1000000
|
|
|
|
extern const char *MR_time_method;
|
|
|
|
#if defined(MR_MPROF_PROFILE_TIME) || defined(MR_DEEP_PROFILING_TIMING)
|
|
|
|
typedef void MR_time_signal_handler(int signum);
|
|
|
|
extern void MR_turn_on_time_profiling(MR_time_signal_handler handler);
|
|
extern void MR_turn_off_time_profiling(void);
|
|
|
|
extern void MR_init_time_profile_method(void);
|
|
|
|
#endif // MR_MPROF_PROFILE_TIMING || MR_DEEP_PROFILING_TIMING
|
|
|
|
#endif // MERCURY_PROF_TIME_H
|