aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Filla <freebsd@sysctl.cz>2024-08-15 15:29:24 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2024-08-15 15:29:24 +0000
commit46637f75e8b2021574f0999dc112d696b7756ddb (patch)
treeb37e3bc9bcededab6684750757ede5c0988978a0
parent3da4f8228873685ab51cd75cbae5580aebcc402c (diff)
devel/tracy: New port: Frame and sampling profiler for games and other applications
A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications. Tracy supports profiling CPU (Direct support is provided for C, C++, and Lua integration. At the same time, third-party bindings to many other languages exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major graphic APIs: OpenGL, Vulkan, Direct3D 11/12, OpenCL.), memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more. https://github.com/wolfpld/tracy Interactive demo: https://tracy.nereid.pl PR: 278126
-rw-r--r--devel/Makefile1
-rw-r--r--devel/tracy/Makefile19
-rw-r--r--devel/tracy/distinfo3
-rw-r--r--devel/tracy/pkg-descr8
-rw-r--r--devel/tracy/pkg-plist47
5 files changed, 78 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6235ecd49851..6dcc21cd418a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -8085,6 +8085,7 @@
SUBDIR += tomlplusplus
SUBDIR += tortoisehg
SUBDIR += tpasm
+ SUBDIR += tracy
SUBDIR += tradcpp
SUBDIR += transient
SUBDIR += transient-devel
diff --git a/devel/tracy/Makefile b/devel/tracy/Makefile
new file mode 100644
index 000000000000..aa153b050fb2
--- /dev/null
+++ b/devel/tracy/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= tracy
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.11.0
+CATEGORIES= devel
+
+MAINTAINER= freebsd@sysctl.cz
+COMMENT= Frame and sampling profiler for games and other applications
+WWW= https://github.com/wolfpld/tracy
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake compiler:c++11-lang localbase:ldflags
+USE_GITHUB= yes
+GH_ACCOUNT= wolfpld
+
+CMAKE_ARGS= -DCMAKE_INSTALL_INCLUDEDIR=${PREFIX}/include/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/tracy/distinfo b/devel/tracy/distinfo
new file mode 100644
index 000000000000..e7d6e10c03a4
--- /dev/null
+++ b/devel/tracy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1723473185
+SHA256 (wolfpld-tracy-v0.11.0_GH0.tar.gz) = b591ef2820c5575ccbf17e2e7a1dc1f6b9a2708f65bfd00f4ebefad2a1ccf830
+SIZE (wolfpld-tracy-v0.11.0_GH0.tar.gz) = 6125166
diff --git a/devel/tracy/pkg-descr b/devel/tracy/pkg-descr
new file mode 100644
index 000000000000..18e89d405600
--- /dev/null
+++ b/devel/tracy/pkg-descr
@@ -0,0 +1,8 @@
+A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling
+profiler for games and other applications.
+Tracy supports profiling CPU (Direct support is provided for C, C++, and Lua
+integration. At the same time, third-party bindings to many other languages
+exist on the internet, such as Rust, Zig, C#, OCaml, Odin, etc.), GPU (All major
+graphic APIs: OpenGL, Vulkan, Direct3D 11/12, OpenCL.), memory allocations,
+locks, context switches, automatically attribute screenshots to captured frames,
+and much more.
diff --git a/devel/tracy/pkg-plist b/devel/tracy/pkg-plist
new file mode 100644
index 000000000000..cc8f5252aad1
--- /dev/null
+++ b/devel/tracy/pkg-plist
@@ -0,0 +1,47 @@
+include/tracy/client/TracyArmCpuTable.hpp
+include/tracy/client/TracyCallstack.h
+include/tracy/client/TracyCallstack.hpp
+include/tracy/client/TracyCpuid.hpp
+include/tracy/client/TracyDebug.hpp
+include/tracy/client/TracyDxt1.hpp
+include/tracy/client/TracyFastVector.hpp
+include/tracy/client/TracyKCore.hpp
+include/tracy/client/TracyLock.hpp
+include/tracy/client/TracyProfiler.hpp
+include/tracy/client/TracyRingBuffer.hpp
+include/tracy/client/TracyScoped.hpp
+include/tracy/client/TracyStringHelpers.hpp
+include/tracy/client/TracySysPower.hpp
+include/tracy/client/TracySysTime.hpp
+include/tracy/client/TracySysTrace.hpp
+include/tracy/client/TracyThread.hpp
+include/tracy/client/tracy_SPSCQueue.h
+include/tracy/client/tracy_concurrentqueue.h
+include/tracy/client/tracy_rpmalloc.hpp
+include/tracy/common/TracyAlign.hpp
+include/tracy/common/TracyAlloc.hpp
+include/tracy/common/TracyApi.h
+include/tracy/common/TracyColor.hpp
+include/tracy/common/TracyForceInline.hpp
+include/tracy/common/TracyMutex.hpp
+include/tracy/common/TracyProtocol.hpp
+include/tracy/common/TracyQueue.hpp
+include/tracy/common/TracySocket.hpp
+include/tracy/common/TracyStackFrames.hpp
+include/tracy/common/TracySystem.hpp
+include/tracy/common/TracyUwp.hpp
+include/tracy/common/TracyYield.hpp
+include/tracy/common/tracy_lz4.hpp
+include/tracy/common/tracy_lz4hc.hpp
+include/tracy/tracy/Tracy.hpp
+include/tracy/tracy/TracyC.h
+include/tracy/tracy/TracyD3D11.hpp
+include/tracy/tracy/TracyD3D12.hpp
+include/tracy/tracy/TracyLua.hpp
+include/tracy/tracy/TracyOpenCL.hpp
+include/tracy/tracy/TracyOpenGL.hpp
+include/tracy/tracy/TracyVulkan.hpp
+lib/libTracyClient.a
+share/Tracy/TracyConfig.cmake
+share/Tracy/TracyTargets-%%CMAKE_BUILD_TYPE%%.cmake
+share/Tracy/TracyTargets.cmake