65 lines
2.5 KiB
C++
65 lines
2.5 KiB
C++
/*
|
||
PIP - Platform Independent Primitives
|
||
System tests results (see system_test folder)
|
||
Ivan Pelipenko peri4ko@yandex.ru
|
||
|
||
This program is free software: you can redistribute it and/or modify
|
||
it under the terms of the GNU Lesser General Public License as published by
|
||
the Free Software Foundation, either version 3 of the License, or
|
||
(at your option) any later version.
|
||
|
||
This program 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 Lesser General Public License for more details.
|
||
|
||
You should have received a copy of the GNU Lesser General Public License
|
||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
*/
|
||
|
||
//! \addtogroup System
|
||
//! \{
|
||
//! \file pisystemtests.h
|
||
//! \brief System tests results
|
||
//! \~english Provides access to system test results and timing information
|
||
//! \~russian Предоставляет доступ к результатам системных тестов и информации о времени
|
||
//! \details
|
||
//! \~english This module contains functionality for reading system test results, including timing information
|
||
//! \~russian Этот модуль содержит функциональность для чтения результатов системных тестов, включая информацию о времени
|
||
|
||
#ifndef PISYSTEMTESTS_H
|
||
# define PISYSTEMTESTS_H
|
||
|
||
# include "pibase.h"
|
||
|
||
namespace PISystemTests {
|
||
|
||
//! \~english Time resolution in nanoseconds
|
||
//! \~russian Разрешение времени в наносекундах
|
||
extern PIP_EXPORT long time_resolution_ns;
|
||
|
||
//! \~english Time elapsed in nanoseconds
|
||
//! \~russian Прошедшее время в наносекундах
|
||
extern PIP_EXPORT long time_elapsed_ns;
|
||
|
||
//! \~english Usleep offset in microseconds
|
||
//! \~russian Смещение usleep в микросекундах
|
||
extern PIP_EXPORT long usleep_offset_us;
|
||
|
||
//! \~english System test reader class
|
||
//! \~russian Класс чтения системных тестов
|
||
class PIP_EXPORT PISystemTestReader {
|
||
public:
|
||
//! \~english Constructor
|
||
//! \~russian Конструктор
|
||
PISystemTestReader();
|
||
};
|
||
|
||
//! \~english Global system test reader instance
|
||
//! \~russian Глобальный экземпляр чтеца системных тестов
|
||
extern PIP_EXPORT PISystemTestReader pisystestreader;
|
||
} // namespace PISystemTests
|
||
|
||
#endif // PISYSTEMTESTS_H
|
||
//! \}
|