2019-04-01 03:04:11 +02:00
|
|
|
// Matrix Construct
|
|
|
|
//
|
|
|
|
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
|
|
|
// Copyright (C) 2016-2019 Jason Volk <jason@zemos.net>
|
|
|
|
//
|
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
|
|
// copyright notice and this permission notice is present in all copies. The
|
|
|
|
// full license for this software is available in the LICENSE file.
|
|
|
|
|
|
|
|
#ifdef HAVE_LINUX_PERF_EVENT_H
|
|
|
|
#include <linux/perf_event.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//
|
|
|
|
// init
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifdef HAVE_LINUX_PERF_EVENT_H
|
2019-04-02 20:09:37 +02:00
|
|
|
ircd::prof::init::init()
|
2019-04-01 03:04:11 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
#else
|
2019-04-02 20:09:37 +02:00
|
|
|
ircd::prof::init::init()
|
2019-04-01 03:04:11 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_LINUX_PERF_EVENT_H
|
2019-04-02 20:09:37 +02:00
|
|
|
ircd::prof::init::~init()
|
2019-04-01 03:04:11 +02:00
|
|
|
noexcept
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
#else
|
2019-04-02 20:09:37 +02:00
|
|
|
ircd::prof::init::~init()
|
2019-04-01 03:04:11 +02:00
|
|
|
noexcept
|
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif
|