Skip to content

Commit

Permalink
[#78] frequency-calculator: fix + emulib jar name
Browse files Browse the repository at this point in the history
  • Loading branch information
vbmacher committed May 18, 2023
1 parent d75b34a commit 77126de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ plugins {

group 'net.emustudio'
version '12.1.0-SNAPSHOT'
archivesBaseName = 'emulib'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void run() {
synchronized (this) {
long endTime = System.nanoTime();
long time = endTime - startTime;
long executedCycles = cycles.get();
double executedCycles = cycles.get();

if (executedCycles > 0) {
frequencyKhz = (float) (executedCycles / (time / 1000000.0)); // per millisecond = kHz
Expand Down

0 comments on commit 77126de

Please sign in to comment.