Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41507 - /trunk/storage/storage/src/modules/Storage.ycp
  • From: fehr@xxxxxxxxxxxxxxxx
  • Date: Mon, 22 Oct 2007 09:55:14 -0000
  • Message-id: <20071022095514.C2FCD26644@xxxxxxxxxxxxxxxx>
Author: fehr
Date: Mon Oct 22 11:55:14 2007
New Revision: 41507

URL: http://svn.opensuse.org/viewcvs/yast?rev=41507&view=rev
Log:
add code that proves that storage constructor does not do time consuming tasks

Modified:
    trunk/storage/storage/src/modules/Storage.ycp

Modified: trunk/storage/storage/src/modules/Storage.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Storage.ycp?rev=41507&r1=41506&r2=41507&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/Storage.ycp (original)
+++ trunk/storage/storage/src/modules/Storage.ycp Mon Oct 22 11:55:14 2007
@@ -2108,7 +2108,8 @@
 
 global define void Storage()
     ``{
-    y2milestone( "constructor Storage()" );
+    map m = (map)SCR::Execute(.target.bash_output, "date +%s.%N" );
+    y2milestone( "constructor Storage() time:%1", m["stdout"]:"" );
     StorageMap[targets_backup_key] = $[];
     StorageMap[targets_backup_l_key] = $[];
     StorageMap[targets_backup_m_key] = $[];
@@ -2130,6 +2131,8 @@
        Storage::SetPartProposalActive( false  );
        }
     InstallCallbacks();
+    m = (map)SCR::Execute(.target.bash_output, "date +%s.%N" );
+    y2milestone( "constructor Storage() end time:%1", m["stdout"]:"" );
     }
 
 

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages