From 24c61eda38dcf2ae43ce5178c715ff6e9bada6d6 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 26 Feb 2004 12:43:11 +0000 Subject: [PATCH] INTEGRATION: CWS sb13 (1.1.84); FILE MERGED 2004/02/06 08:20:18 sb 1.1.84.1: #i19699# Adapted to tightened tools/string.hxx. --- automation/source/server/prof_usl.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/automation/source/server/prof_usl.cxx b/automation/source/server/prof_usl.cxx index de5b400c8b12..6973cfab6783 100644 --- a/automation/source/server/prof_usl.cxx +++ b/automation/source/server/prof_usl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: prof_usl.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mh $ $Date: 2002-11-18 15:27:59 $ + * last change: $Author: kz $ $Date: 2004-02-26 13:43:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -146,19 +146,19 @@ String TTProfiler::GetSysdepProfileLine( SysdepProfileSnapshot *pStart, SysdepPr { String aProfile; - aProfile += Pad( pStop->mpsinfo.pr_size, 9); - aProfile += Pad( pStop->mpsinfo.pr_rssize, 11); + aProfile += Pad( String::CreateFromInt64(pStop->mpsinfo.pr_size), 9); + aProfile += Pad( String::CreateFromInt64(pStop->mpsinfo.pr_rssize), 11); - aProfile += Pad( DIFF_MS( pStart, pStop, mprusage.pr_rtime ) / AVER( pStart, pStop, mprusage.pr_count ), 7 ); + aProfile += Pad( String::CreateFromInt64(DIFF_MS( pStart, pStop, mprusage.pr_rtime ) / AVER( pStart, pStop, mprusage.pr_count )), 7 ); ULONG d_utime = DIFF_MS( pStart, pStop, mpstatus.pr_utime ) + DIFF_MS( pStart, pStop, mpstatus.pr_cutime ); ULONG d_stime = DIFF_MS( pStart, pStop, mpstatus.pr_stime ) + DIFF_MS( pStart, pStop, mpstatus.pr_cstime ); - aProfile += Pad( d_utime, 7 ); - aProfile += Pad( d_stime, 7 ); - aProfile += Pad( d_utime + d_stime, 7 ); + aProfile += Pad( String::CreateFromInt64(d_utime), 7 ); + aProfile += Pad( String::CreateFromInt64(d_stime), 7 ); + aProfile += Pad( String::CreateFromInt64(d_utime + d_stime), 7 ); return aProfile; };