sse compression output: yes & no instead of 0/1

pull/1/head
Thorsten Liebig 2010-07-11 19:53:02 +02:00
parent 9b8c280504
commit 03b03b9834
1 changed files with 3 additions and 2 deletions

View File

@ -143,9 +143,10 @@ void Operator_SSE_Compressed::ShowStat() const
{ {
Operator_sse::ShowStat(); Operator_sse::ShowStat();
cout << "SSE compression enabled\t: " << m_Use_Compression << endl; string yes_no[2] = {"no","yes"};
cout << "SSE compression enabled\t: " << yes_no[m_Use_Compression] << endl;
cout << "Unique SSE operator\t: " << m_Op_Count << endl; cout << "Unique SSE operator\t: " << m_Op_Count << endl;
cout << "Optimal compression\t: " << m_Max_Compression << endl; cout << "Optimal compression\t: " << yes_no[m_Max_Compression] << endl;
cout << "-----------------------------------" << endl; cout << "-----------------------------------" << endl;
} }