From aaeab774c3c8e30b2925620fc3d2a34e5f53be4c Mon Sep 17 00:00:00 2001 From: Konstantin Date: Mon, 16 Jan 2023 19:41:42 +0100 Subject: Bugfix: when processing files, “Run” CPU block was erroneously measured twice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Whisper/Utils/ProfileCollection.cpp | 1 + Whisper/Utils/ProfileCollection.h | 1 + 2 files changed, 2 insertions(+) (limited to 'Whisper/Utils') diff --git a/Whisper/Utils/ProfileCollection.cpp b/Whisper/Utils/ProfileCollection.cpp index eaf737c..a463655 100644 --- a/Whisper/Utils/ProfileCollection.cpp +++ b/Whisper/Utils/ProfileCollection.cpp @@ -49,6 +49,7 @@ namespace { #define V(x) case eCpuBlock::x: return #x V( LoadModel ); + V( RunComplete ); V( Run ); V( Callbacks ); V( Spectrogram ); diff --git a/Whisper/Utils/ProfileCollection.h b/Whisper/Utils/ProfileCollection.h index a03319e..3d25609 100644 --- a/Whisper/Utils/ProfileCollection.h +++ b/Whisper/Utils/ProfileCollection.h @@ -15,6 +15,7 @@ namespace Whisper enum struct eCpuBlock : uint8_t { LoadModel, + RunComplete, Run, Callbacks, Spectrogram, -- cgit v1.2.3