Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
navigation:
parent: ae2:items-blocks-machines/items-blocks-machines-index.md
icon: ae2netanalyser:tick_analyser
title: ME刻速率分析仪
categories:
- tools
item_ids:
- ae2netanalyser:tick_analyser
---

# 对ME系统的刻速率进行模型分析

<ItemImage id="ae2netanalyser:tick_analyser" scale="4"></ItemImage>

在ME网络变得非常巨大后,你的游戏可能会时不时出现卡顿,但要追踪到网络中的卡顿来源不是一件容易事。而现在,只需借助ME刻速率分析仪,就能轻松找出卡顿源。

## 是什么东西让游戏变卡的?

有些AE设备会在游戏刻中执行其功能。ME刻速率分析仪可以分析它们完成功能的耗时(μs/刻),并在世界中显示这些数据,以便你找出耗时最长的设备。

**在多人服务端中,你需要管理员权限才能使用此工具,以免出现滥用情况。**

![概览](./pic/tick_rate.png)

颜色代表方块的卡顿程度。颜色越红越卡顿。

数字代表该方块的刻速率。若TPS(ticks per second,每秒刻数)低于20,你的游戏就会变卡。换言之,游戏的刻速率应时刻小于50000 μs/刻。

通常来说,大多数方块的刻速率应当小于100 μs/刻,不然它们就有可能是卡顿的来源。

## 自定义显示

可以在配置GUI中控制不同刻速率在世界中的显示方式。

![gui](./pic/gui2.png)

绿色点选框代表显示对应刻速率范围内的方块。点击点选框可启用/禁用显示。
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
navigation:
parent: ae2:items-blocks-machines/items-blocks-machines-index.md
icon: ae2netanalyser:tick_analyser
title: ME Tick Profiler
categories:
- tools
item_ids:
- ae2netanalyser:tick_analyser
---

# Profile ME Tick Rate

<ItemImage id="ae2netanalyser:tick_analyser" scale="4"></ItemImage>

Sometimes your game may become laggy when you have really huge ME network, but it is kinda hard to troubleshoot the lagging
source from the network. Now, you can find out what is laggy easily with ME Tick Profiler.

## What makes your game laggy?

Some AE devices will do their job during the game tick. ME Tick Profiler can measure the time (μs/tick) they need to complete
their work and visualize the numbers in-world, which helps you find out who takes the longest time.

**You need OP permission to use it in multiplayer server for preventing abuse.**

![overview](./pic/tick_rate.png)

The color stands for lagginess of the block. The redder, the laggier.

The number stands for the tick rate of this block. Your game will become laggy if TPS(ticks per second) is lower than 20.
In other words, game tick rate should always lower than 50000 μs/tick.

Generally speaking, most blocks' tick rate should be lower than 100 μs/tick, otherwise they may cause the lag.

## Custom Display

You can control the in-world display of different tick rates in Config GUI.

![gui](./pic/gui2.png)

The green dot stands for display the blocks within the corresponding tick rate range. Click the dot to enable/disable the
display.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"itemGroup.ae2netanalyser": "AE2 Network Analyzer",
"item.ae2netanalyser.network_analyser": "ME Network Analyzer",
"item.ae2netanalyser.p2p_analyser": "ME P2P Analyzer",
"item.ae2netanalyser.tick_analyser": "ME Tick Profiler",
"gui.ae2netanalyser.network_analyser.mode": "Mode",
"gui.ae2netanalyser.network_analyser.node_size": "Size",
"gui.ae2netanalyser.network_analyser.reset": "Reset Color",
Expand All @@ -23,5 +23,18 @@
"gui.ae2netanalyser.network_analyser.channel.X4": "Channel Mode: x4 Channels",
"gui.ae2netanalyser.network_analyser.state.normal_nodes": "Normal Nodes: %s",
"gui.ae2netanalyser.network_analyser.state.dense_nodes": "Dense Nodes: %s",
"gui.ae2netanalyser.network_analyser.state.missing_nodes": "Offline Nodes: %s"
"gui.ae2netanalyser.network_analyser.state.missing_nodes": "Offline Nodes: %s",
"gui.ae2netanalyser.tick_analyser.set_duration": "Profiler Duration (Seconds)",
"gui.ae2netanalyser.tick_analyser.begin": "Start",
"gui.ae2netanalyser.tick_analyser.cancel": "Abort",
"gui.ae2netanalyser.tick_analyser.range1": "<5μs/tick",
"gui.ae2netanalyser.tick_analyser.range2": "5-100μs/tick",
"gui.ae2netanalyser.tick_analyser.range3": "100-500μs/tick",
"gui.ae2netanalyser.tick_analyser.range4": ">500μs/tick",
"chat.ae2netanalyser.tick_analyser.begin": "Run profile for %s seconds.",
"chat.ae2netanalyser.tick_analyser.finish": "Profile finished.",
"chat.ae2netanalyser.tick_analyser.waiting": "You have sent the profile request, Please wait it done.",
"chat.ae2netanalyser.tick_analyser.cannel": "Profile cancelled.",
"chat.ae2netanalyser.tick_analyser.no_cannel": "You don't have any running profile jobs.",
"chat.ae2netanalyser.tick_analyser.user_control": "You don't have permissions to profile in this server."
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"itemGroup.ae2netanalyser": "AE2网络分析仪",
"item.ae2netanalyser.network_analyser": "ME网络分析仪",
"item.ae2netanalyser.p2p_analyser": "ME P2P分析仪",
"item.ae2netanalyser.tick_analyser": "ME刻速率分析仪",
"gui.ae2netanalyser.network_analyser.mode": "模式",
"gui.ae2netanalyser.network_analyser.node_size": "大小",
"gui.ae2netanalyser.network_analyser.reset": "重置颜色",
Expand All @@ -23,5 +23,18 @@
"gui.ae2netanalyser.network_analyser.channel.X4": "频道模式:x4频道",
"gui.ae2netanalyser.network_analyser.state.normal_nodes": "普通节点:%s",
"gui.ae2netanalyser.network_analyser.state.dense_nodes": "致密节点:%s",
"gui.ae2netanalyser.network_analyser.state.missing_nodes": "离线节点:%s"
"gui.ae2netanalyser.network_analyser.state.missing_nodes": "离线节点:%s",
"gui.ae2netanalyser.tick_analyser.set_duration": "模型分析窗口(秒)",
"gui.ae2netanalyser.tick_analyser.begin": "开始",
"gui.ae2netanalyser.tick_analyser.cancel": "终止",
"gui.ae2netanalyser.tick_analyser.range1": "<5μs/刻",
"gui.ae2netanalyser.tick_analyser.range2": "5-100μs/刻",
"gui.ae2netanalyser.tick_analyser.range3": "100-500μs/刻",
"gui.ae2netanalyser.tick_analyser.range4": ">500μs/刻",
"chat.ae2netanalyser.tick_analyser.begin": "进行%s秒模型分析。",
"chat.ae2netanalyser.tick_analyser.finish": "模型分析完成。",
"chat.ae2netanalyser.tick_analyser.waiting": "你已发送模型分析请求。请暂作等待。",
"chat.ae2netanalyser.tick_analyser.cannel": "模型分析已取消。",
"chat.ae2netanalyser.tick_analyser.no_cannel": "你当前没有正在运行的模型分析任务。",
"chat.ae2netanalyser.tick_analyser.user_control": "你在此服务端内没有模型分析的权限。"
}
Loading