This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Windows.h> | |
| #include <d3d11.h> | |
| #include <atlbase.h> | |
| #pragma comment (lib, "d3d11.lib") | |
| #include <iostream> | |
| #include <thread> | |
| #include <chrono> | |
| #include <memory> | |
| #include <vector> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Text; | |
| namespace FilePerformanceTest | |
| { | |
| class Program | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <intrin.h> | |
| #include <immintrin.h> | |
| #include <emmintrin.h> | |
| #include <cstdio> | |
| #include <cstdint> | |
| #include <cmath> | |
| #include <cfloat> | |
| #include <Windows.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Runtime.InteropServices; | |
| using Udping.Base; | |
| var pingStructSizeOf = Marshal.SizeOf<PingStruct>(); | |
| var portStr = args.FirstOrDefault(arg => arg.StartsWith("--port=", StringComparison.OrdinalIgnoreCase)) ?? "--port=16789"; | |
| var port = short.Parse(portStr["--port=".Length..]); |
OlderNewer