You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2006/05/13 01:13:45 UTC

svn commit: r405933 - /tomcat/connectors/trunk/jni/native/os/unix/system.c

Author: rjung
Date: Fri May 12 16:13:44 2006
New Revision: 405933

URL: http://svn.apache.org/viewcvs?rev=405933&view=rev
Log:
Change for Solaris only:
- drop tck_r

Modified:
    tomcat/connectors/trunk/jni/native/os/unix/system.c

Modified: tomcat/connectors/trunk/jni/native/os/unix/system.c
URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jni/native/os/unix/system.c?rev=405933&r1=405932&r2=405933&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/native/os/unix/system.c (original)
+++ tomcat/connectors/trunk/jni/native/os/unix/system.c Fri May 12 16:13:44 2006
@@ -276,7 +276,6 @@
             for (i = 0; i < cpu_count; i++) {
                 new_kid = kstat_read(kstat_ctl, kstat_cpu[i], NULL);
                 if (new_kid >= 0) {
-                    long tck_r = tck_dividend / tck_divisor;
                     cpu = ((cpu_stat_t *)kstat_cpu[i]->ks_data)->cpu_sysinfo;
                     if ( tck_divisor == 1 ) {
                         pvals[7] += (jlong)(((jlong)cpu.cpu[CPU_IDLE]) * tck_dividend);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org