Changeset 03adda3


Ignore:
Timestamp:
Apr 28, 2016 11:43:11 AM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
52c9bf6
Parents:
da62a11
Message:

CPUID: Add version to /logs

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/logs.jsp

    rda62a11 r03adda3  
    3333<b>JSTL version:</b> <jsp:getProperty name="logsHelper" property="jstlVersion" /><br>
    3434<b>Platform:</b> <%=System.getProperty("os.name")%> <%=System.getProperty("os.arch")%> <%=System.getProperty("os.version")%><br>
     35<b>Jcpuid version:</b> <%=freenet.support.CPUInformation.CPUID.getJcpuidVersion()%><br>
    3536<b>Processor:</b> <%=net.i2p.util.NativeBigInteger.cpuModel()%> (<%=net.i2p.util.NativeBigInteger.cpuType()%>)<br>
    3637<b>Jbigi:</b> <%=net.i2p.util.NativeBigInteger.loadStatus()%><br>
  • core/java/src/freenet/support/CPUInformation/CPUID.java

    rda62a11 r03adda3  
    127127            return 2;
    128128        }
     129    }
     130
     131    /**
     132     *  Return the jcpuid version
     133     *  @return 0 if no jcpuid available, 2 if version not supported
     134     *  @since 0.9.26
     135     */
     136    public static int getJcpuidVersion() {
     137        return _jcpuidVersion;
    129138    }
    130139
Note: See TracChangeset for help on using the changeset viewer.