![]() |
Audacity 3.2.0
|
BenchmarkDialog is used for measuring performance and accuracy of sample block storage. More...
Public Member Functions | |
| BenchmarkDialog (wxWindow *parent, AudacityProject &project) | |
| void | MakeBenchmarkDialog () |
Public Member Functions inherited from wxDialogWrapper | |
| wxDialogWrapper () | |
| wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
| bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
| void | SetTitle (const TranslatableString &title) |
| void | SetLabel (const TranslatableString &title) |
| void | SetName (const TranslatableString &title) |
| void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
| wxTabTraversalWrapper (Args &&... args) | |
| wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
| wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
| wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
| wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Member Functions | |
| void | OnRun (wxCommandEvent &event) |
| void | OnSave (wxCommandEvent &event) |
| void | OnClear (wxCommandEvent &event) |
| void | OnClose (wxCommandEvent &event) |
| void | Printf (const TranslatableString &str) |
| void | HoldPrint (bool hold) |
| void | FlushPrint () |
Private Attributes | |
| AudacityProject & | mProject |
| const ProjectRate & | mRate |
| bool | mHoldPrint |
| wxString | mToPrint |
| wxString | mBlockSizeStr |
| wxString | mDataSizeStr |
| wxString | mNumEditsStr |
| wxString | mRandSeedStr |
| bool | mBlockDetail |
| bool | mEditDetail |
| wxTextCtrl * | mText |
BenchmarkDialog is used for measuring performance and accuracy of sample block storage.
Definition at line 52 of file Benchmark.cpp.
| BenchmarkDialog::BenchmarkDialog | ( | wxWindow * | parent, |
| AudacityProject & | project | ||
| ) |
Definition at line 136 of file Benchmark.cpp.
References ProjectRate::Get(), and project.
|
private |
Definition at line 308 of file Benchmark.cpp.
References mText, mToPrint, and wxT().
Referenced by HoldPrint(), OnRun(), and Printf().
|
private |
Definition at line 300 of file Benchmark.cpp.
References FlushPrint(), and mHoldPrint.
Referenced by OnRun().
| void BenchmarkDialog::MakeBenchmarkDialog | ( | ) |
Definition at line 169 of file Benchmark.cpp.
References BlockSizeID, BSaveID, ClearID, DataSizeID, eIsCreating, mBlockDetail, mBlockSizeStr, mDataSizeStr, mEditDetail, mNumEditsStr, mRandSeedStr, mText, NumEditsID, RandSeedID, RunID, S, StaticTextID, wxT(), XO(), and XXO().
|
private |
|
private |
Definition at line 164 of file Benchmark.cpp.
|
private |
Definition at line 319 of file Benchmark.cpp.
References AudacityMessageBox(), DoProjectTempoChange(), EditClipsCanMove, FlushPrint(), ProjectTimeSignature::Get(), Sequence::GetMaxDiskBlockSize(), ProjectRate::GetRate(), ProjectTimeSignature::GetTempo(), HoldPrint(), mBlockDetail, mBlockSizeStr, mDataSizeStr, mEditDetail, mNumEditsStr, mProject, mRandSeedStr, mRate, mToPrint, SampleBlockFactory::New(), Printf(), staffpad::vo::rotate(), SAMPLE_SIZE, SampleFormat, SampleType, anonymous_namespace{wxCommandTargets.cpp}::scope, Sequence::SetMaxDiskBlockSize(), TrackList::Temporary(), Setting< T >::Write(), and XO().
|
private |
Definition at line 266 of file Benchmark.cpp.
References mText, SelectFile(), FileNames::TextFiles, wxT(), and XO().
|
private |
Definition at line 292 of file Benchmark.cpp.
References FlushPrint(), mHoldPrint, mToPrint, and str.
Referenced by OnRun().
|
private |
Definition at line 82 of file Benchmark.cpp.
Referenced by MakeBenchmarkDialog(), and OnRun().
|
private |
Definition at line 77 of file Benchmark.cpp.
Referenced by MakeBenchmarkDialog(), and OnRun().
|
private |
Definition at line 78 of file Benchmark.cpp.
Referenced by MakeBenchmarkDialog(), and OnRun().
|
private |
Definition at line 83 of file Benchmark.cpp.
Referenced by MakeBenchmarkDialog(), and OnRun().
|
private |
Definition at line 74 of file Benchmark.cpp.
Referenced by HoldPrint(), and Printf().
|
private |
Definition at line 79 of file Benchmark.cpp.
Referenced by MakeBenchmarkDialog(), and OnRun().
|
private |
Definition at line 71 of file Benchmark.cpp.
Referenced by OnRun().
|
private |
Definition at line 80 of file Benchmark.cpp.
Referenced by MakeBenchmarkDialog(), and OnRun().
|
private |
Definition at line 72 of file Benchmark.cpp.
Referenced by OnRun().
|
private |
Definition at line 85 of file Benchmark.cpp.
Referenced by FlushPrint(), MakeBenchmarkDialog(), OnClear(), and OnSave().
|
private |
Definition at line 75 of file Benchmark.cpp.
Referenced by FlushPrint(), OnRun(), and Printf().