New port: sysutils/evhz: tool for measuring evdev event rate

A tool for measuring evdev event rate
(mouse polling rate, touchpad event rate, etc.)

Reported average is for the last 64 samples, or as many as we have so far.

WWW: https://gitlab.com/iankelling/evhz

PR:		239466
Submitted by:	Greg V <greg@unrelenting.technology>
This commit is contained in:
Kurt Jaeger 2019-08-04 13:10:24 +00:00
parent a3a2332dc6
commit 34a999626b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508094
4 changed files with 39 additions and 0 deletions

View File

@ -302,6 +302,7 @@
SUBDIR += etcmerge
SUBDIR += etcupdate
SUBDIR += eventlog
SUBDIR += evhz
SUBDIR += evtviewer
SUBDIR += exa
SUBDIR += exfat-utils

29
sysutils/evhz/Makefile Normal file
View File

@ -0,0 +1,29 @@
# $FreeBSD$
PORTNAME= evhz
DISTVERSION= g20170201
CATEGORIES= sysutils
MAINTAINER= greg@unrelenting.technology
COMMENT= Tool for measuring evdev event rate (mouse polling rate)
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
USES= compiler localbase
USE_GITLAB= yes
GL_ACCOUNT= iankelling
GL_COMMIT= 3b656489b70838afaeb33359cb0086e2a184c81f
PLIST_FILES= bin/${PORTNAME}
do-build:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>

3
sysutils/evhz/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1564168942
SHA256 (iankelling-evhz-3b656489b70838afaeb33359cb0086e2a184c81f_GL0.tar.gz) = 308d8531256375985dd6ff5758e1ce05d3e65ed00bad38ca3d35bfed0249aa07
SIZE (iankelling-evhz-3b656489b70838afaeb33359cb0086e2a184c81f_GL0.tar.gz) = 14564

6
sysutils/evhz/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
A tool for measuring evdev event rate
(mouse polling rate, touchpad event rate, etc.)
Reported average is for the last 64 samples, or as many as we have so far.
WWW: https://gitlab.com/iankelling/evhz