Author: aschnell Date: Sun Jul 27 23:52:10 2008 New Revision: 49439 URL: http://svn.opensuse.org/viewcvs/yast?rev=49439&view=rev Log: - removed unfinished? function Modified: trunk/storage/libstorage/src/AppUtil.cc trunk/storage/libstorage/src/AppUtil.h trunk/storage/libstorage/src/SystemCmd.cc Modified: trunk/storage/libstorage/src/AppUtil.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/AppUtil.cc?rev=49439&r1=49438&r2=49439&view=diff ============================================================================== --- trunk/storage/libstorage/src/AppUtil.cc (original) +++ trunk/storage/libstorage/src/AppUtil.cc Sun Jul 27 23:52:10 2008 @@ -84,23 +84,6 @@ return Found_bi; } -void timeMark(const char*const Text_pcv, bool PrintDiff_bi) -{ - static unsigned long Start_ls; - unsigned long Diff_li; - struct timeb Time_ri; - - if (PrintDiff_bi) - { - ftime(&Time_ri); - Diff_li = Time_ri.time % 1000000 * 1000 + Time_ri.millitm - Start_ls; - } - else - { - ftime(&Time_ri); - Start_ls = Time_ri.time % 1000000 * 1000 + Time_ri.millitm; - } -} void createPath(string Path_Cv) { Modified: trunk/storage/libstorage/src/AppUtil.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/AppUtil.h?rev=49439&r1=49438&r2=49439&view=diff ============================================================================== --- trunk/storage/libstorage/src/AppUtil.h (original) +++ trunk/storage/libstorage/src/AppUtil.h Sun Jul 27 23:52:10 2008 @@ -25,7 +25,6 @@ bool searchFile(AsciiFile& File_Cr, string Pat_Cv, string& Line_Cr); bool searchFile(AsciiFile& File_Cr, string Pat_Cv, string& Line_Cr, int& StartLine_ir); -void timeMark(const char*const Text_pcv, bool PrintDiff_bi = true); void createPath(string Path_Cv); bool checkNormalFile(string Path_Cv); bool checkDir(string Path_Cv); @@ -48,7 +47,6 @@ string undevDevice( const string& dev ); void undevDevice( string& dev ); bool isNfsDev( const string& dev ); -void delay(int Microsec_iv); unsigned getMajorDevices( const string& driver ); void createLogger(const string& component, const string& name, Modified: trunk/storage/libstorage/src/SystemCmd.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/SystemCmd.cc?rev=49439&r1=49438&r2=49439&view=diff ============================================================================== --- trunk/storage/libstorage/src/SystemCmd.cc (original) +++ trunk/storage/libstorage/src/SystemCmd.cc Sun Jul 27 23:52:10 2008 @@ -176,7 +176,6 @@ { output_proc->reset(); } - timeMark( "System", false ); y2debug( "Cmd:%s", Cmd.c_str() ); if( access( Shell_Ci.c_str(), X_OK ) != 0 ) { @@ -299,7 +298,6 @@ Ret_i = 0; y2milestone( "TESTMODE would execute \"%s\"", Cmd.c_str() ); } - timeMark( "After fork()" ); if( Ret_i==-127 || Ret_i==-1 ) { y2error("system (%s) = %d", Cmd.c_str(), Ret_i); @@ -309,7 +307,6 @@ y2milestone( "system() Returns:%d", Ret_i ); if( Ret_i!=0 ) logOutput(); - timeMark( "After CheckOutput" ); return( Ret_i ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org