Ejemplo n.º 1
0
    static void Init()
    {
        Log.Init();
        M4ATX.Init();
        Motherboard.Init();
        nVidiaGPU.Init();

        Log.WriteLine(
            "--------------------+-------------+---------------------------------------+-------------+-------------------------------+-------+---------------------------------" + Environment.NewLine +
            "     Timestamp      |  M4ATX PSU  |           CPU Temperature             |     GPU     |           CPU Power           |  GPU  |           M4ATX PSU Voltage         " + Environment.NewLine +
            "  (UTC time zone)   | temperature |   PKG   Core0  Core1  Core02  Core03  | temperature |     PKG    Cores     DRAM     | power |   In       12V      3V        5V" + Environment.NewLine +
            "--------------------+-------------+---------------------------------------+-------------+-------------------------------+-------+---------------------------------");
    }
Ejemplo n.º 2
0
 static void Init()
 {
     OpenReportStream();
     try
     {
         M4ATX.Init();
     }
     catch (Exception e)
     {
         /*
          * the M4ATX USB interface is a bit unstable,
          * handle the case we can't connect to it
          * by logging an error and continuing without it
          */
         LogException(e);
     }
     Motherboard.Init();
 }