Skip to content

Commit

Permalink
Adding performance measurement tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbikker committed Nov 3, 2024
2 parents 0402288 + b7e7967 commit 8d0803e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ The cross-platform fenster-based single-source bitmap renderer can be compiled w

````g++ -std=c++20 -mavx -mwindows -O3 tiny_bvh_fenster.cpp -o tiny_bvh_fenster```` (on windows)

```g++ -std=c++20 -mavx -O3 -framework Cocoa tiny_bvh_fenster.cpp -o tiny_bvh_fenster``` (on macOS)

The performance measurements use OpenMP and can be compiled with:

````g++ -std=c++20 -mavx -fopenmp tiny_bvh_speedtest.cpp -o tiny_bvh_speedtest````

# Version
The current version of the library is a 'prototype'; please expect changes to the interface. Once the interface has settled, more functionality will follow. Plans:
* Spatial Splits (SBVH)
Expand Down
2 changes: 1 addition & 1 deletion tiny_bvh_fenster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ void Tick( uint32_t* buf )
int c = (int)(15.9f * avg);
buf[x + y * SCRWIDTH] = c + (c << 8) + (c << 16);
}
}
}

0 comments on commit 8d0803e

Please sign in to comment.