Russian article about Bazaar

Alexander Belchenko bialix at ukr.net
Wed Oct 31 11:58:55 GMT 2007


Andrew Voznytsa пишет:
> You may write trivial application like (C-like Win32-API-like pseudo code):
> 
> main(argc, argv){
> 
> StartTime = GetTickCount();
> hProcess = CreateProcess(argv[0] /* executable to run */,,,,argc - 1, argv +
> 1,,,,);
> WaitForSingleObject(hProcess);
> RunTime = GetTickCount() - StartTime;
> 
> printf(RunTime / 1000.0);
> 
> return GetExitCodeProcess(hProcess);
> 
> }
> 
> 
> And then simply run "<your app> <app to measure> [<app arg0..N>]"
> 
> I wrote something like some time ago while evaluating bzr. But unfortunately
> sources seem to be deleted.
> 
> Best regards,
> Andrew Voznytsa

Thank you, I'll try it.



More information about the bazaar mailing list