[VB.NET][原创]CPU温度压力测试简洁版
vb.net吧
全部回复
仅看楼主
level 7
暴牙归来 楼主
软件截图
软件源码地址:网盘链接(指定解压路径为C:\sapce craft\火)
@杰克冻人之怒 @闪星2 @夜闻香 @Nukepayload2
2017年01月02日 10点01分 1
level 11
啊噢
360全家桶[哈哈]
2017年01月02日 11点01分 2
还有QQ全家桶、卡巴斯基全家桶[滑稽][滑稽][滑稽][滑稽][滑稽][滑稽][滑稽][滑稽][滑稽][滑稽]
2017年01月02日 13点01分
@暴牙归来 我只有一个小火绒[太开心]
2017年01月02日 16点01分
火绒+adobe全家桶
2020年03月25日 01点03分
level 11
原创好评!数字卫士全家桶差评[滑稽]
2017年01月02日 12点01分 3
卡巴斯基怒赞[滑稽][滑稽][滑稽][滑稽][滑稽][滑稽][滑稽][滑稽][滑稽][滑稽]
2017年01月02日 13点01分
level 12
[真棒]为什么不用vs2016[滑稽]
2017年01月02日 12点01分 4
vs2016的体积太大了··························[狂汗]
2017年01月02日 13点01分
level 10
原创好评~新手小白前来顶帖
2017年01月03日 05点01分 5
level 13
截图很诡异。为什么一直是20?
_
2017年01月03日 10点01分 6
我也不知道,这核心代码看的我也是醉了。代码贴在楼下,你看一下哪里出了问题
2017年01月03日 11点01分
level 7
暴牙归来 楼主
Public Function GetCPUTemp() As Double
Dim i As Integer = 0
Dim mCPU As Object
Dim u As Object
Dim s As String = String.Empty
mCPU = GetObject("WINMGMTS:{impersonationLevel=impersonate}!root\wmi").ExecQuery("SELECT CurrentTemperature From MSAcpi_ThermalZoneTemperature")
For Each u In mCPU
s = s & u.CurrentTemperature
Next
mCPU = Nothing
GetCPUTemp = (s - 2732) / 10
End Function
@Nukepayload2
2017年01月03日 11点01分 7
这个看不出有什么问题。关键是你必须在进行测试的时候重新获取CPU温度。 _
2017年01月03日 11点01分
@Nukepayload2 是下面这样吗
2017年01月03日 11点01分
level 7
暴牙归来 楼主
Public Function GetCPUTemp() As Double
Dim i As Integer = 0
Dim mCPU As Object
Dim u As Object
Dim s As String = String.Empty
mCPU = GetObject("WINMGMTS:{impersonationLevel=impersonate}!root\wmi").ExecQuery("SELECT CurrentTemperature From MSAcpi_ThermalZoneTemperature")
For Each u In mCPU
s = s & u.CurrentTemperature
Next
mCPU = Nothing
GetCPUTemp = (s - 2732) / 10
End Function
Private Sub Timer7_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer7.Tick
Dim cputemputure As Long = GetCPUTemp()
If cputemputure >= 80 Then
Me.Label3.ForeColor = Color.Red
Me.Label3.Text = "CPU的实时温度 " & cputemputure
ElseIf cputemputure >= 40 And cputemputure < 80 Then
Me.Label3.ForeColor = Color.Yellow
Me.Label3.Text = "CPU的实时温度 " & cputemputure
Else
Me.Label3.ForeColor = Color.Green
Me.Label3.Text = "CPU的实时温度 " & cputemputure
End If
End Sub
是这样重新获取吗@Nukepayload2
2017年01月03日 12点01分 8
你自己试试 _
2017年01月03日 12点01分
@Nukepayload2 我试过,好像没用
2017年01月03日 12点01分
用一个timer就行了
2020年03月25日 01点03分
level 9
用这个.NET类库 OpenHardwareMonitorLib。
这是提供的示例。
---贴吧极速版 For UWP
2017年01月05日 04点01分 9
level 9
http://openhardwaremonitor.org/
---贴吧极速版 For UWP
2017年01月05日 04点01分 10
level 13
楼主的程序效果不好。我玩了一盘游戏温度都比测试高。
_
2017年01月13日 12点01分 11
我也不知道,这效果真尼玛服了
2017年01月13日 13点01分
事实上鲁大师的CPU温度压力测试的原理也不过如此@Nukepayload2
2017年01月14日 01点01分
回复 暴牙归来 : 鲁大师的比你的效果好 .
2017年01月14日 02点01分
level 11
2017年01月17日 12点01分 14
这是什么软件啊,分享一下啊
2017年07月16日 03点07分
什么软件呢?
2019年09月08日 12点09分
level 9
饶了我的老爷机电脑吧。😂
2017年01月30日 18点01分 15
以后尽量少在电脑上装一些软件就可以了
2017年01月31日 12点01分
level 1
我把代码改了改,换了个模型模拟来测试cpu温度。
2020年03月24日 08点03分 16
文件发给我,我看一下。网盘链接也可以
2020年03月25日 10点03分
@暴牙归来 实际上就是自己随便搞了个星体三维模拟,测试时运行模型罢了
2020年12月03日 13点12分
1