StatModule | Надо разработать модуль для сбора статистики о выполнении
kandi X-RAY | StatModule Summary
kandi X-RAY | StatModule Summary
StatModule is a C++ library. StatModule has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.
Надо разработать модуль для сбора статистики о выполнении различных процедур в приложении. API должен быть приблизительно таким ∙ void SetInterval(int interval); //Установить интервал за который возвращаются статистика. Интервал общий для всех блоков и всех процессов. Этот метод вызывается один раз при старте приложения. Этот метод вызывается первым ∙ STAT_HANDLE AddStat(const char* szName); //создает блок статистики. Например, блок создается для каждого запроса к базе данных ∙ void AddCallInfo(STAT_HANDLE h, int64_t callDuration); //добавить информацию о вызове метода в статистику ∙ int64_t GetCallCount(STAT_HANDLE h); //вернуть количество вызовов в секунду ∙ int64_t GetAvgDuration(STAT_HANDLE h); //вернуть среднее время вызовов ∙ int64_t GetMaxDuration(STAT_HANDLE h); //вернуть максимальное время вызова ∙ int64_t GetMinDuration(STAT_HANDLE h); //вернуть минимальное время вызова. Предполагается, что блоков может быть до тысячи. Интервал может быть от 1 секунды до суток. Вызовов AddCallInfo может быть до 10 тысяч в секунду. Приложение может быть много поточным и многопроцессным. Среда - линукс.
Надо разработать модуль для сбора статистики о выполнении различных процедур в приложении. API должен быть приблизительно таким ∙ void SetInterval(int interval); //Установить интервал за который возвращаются статистика. Интервал общий для всех блоков и всех процессов. Этот метод вызывается один раз при старте приложения. Этот метод вызывается первым ∙ STAT_HANDLE AddStat(const char* szName); //создает блок статистики. Например, блок создается для каждого запроса к базе данных ∙ void AddCallInfo(STAT_HANDLE h, int64_t callDuration); //добавить информацию о вызове метода в статистику ∙ int64_t GetCallCount(STAT_HANDLE h); //вернуть количество вызовов в секунду ∙ int64_t GetAvgDuration(STAT_HANDLE h); //вернуть среднее время вызовов ∙ int64_t GetMaxDuration(STAT_HANDLE h); //вернуть максимальное время вызова ∙ int64_t GetMinDuration(STAT_HANDLE h); //вернуть минимальное время вызова. Предполагается, что блоков может быть до тысячи. Интервал может быть от 1 секунды до суток. Вызовов AddCallInfo может быть до 10 тысяч в секунду. Приложение может быть много поточным и многопроцессным. Среда - линукс.
Support
Quality
Security
License
Reuse
Support
StatModule has a low active ecosystem.
It has 1 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
StatModule has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of StatModule is current.
Quality
StatModule has no bugs reported.
Security
StatModule has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
StatModule does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
StatModule releases are not available. You will need to build from source code and install.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of StatModule
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of StatModule
StatModule Key Features
No Key Features are available at this moment for StatModule.
StatModule Examples and Code Snippets
No Code Snippets are available at this moment for StatModule.
Community Discussions
No Community Discussions are available at this moment for StatModule.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install StatModule
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page