Skip to content

Instantly share code, notes, and snippets.

CoreFreq for AMD Ryzen 7 1700X Processor
@svmlegacy
svmlegacy / 00.Intel Core i3-8121U CoreFreq 1.86.3
Last active June 13, 2021 17:27
Intel Core i3-8121U Corefreq 1.86.3
Intel Core i3-8121U
FH8067503900604 SRD0Y J815E057-00240
Cannon Lake-U 2c4t 2.20 GHz
Intel NUC8i3CYSM
BIOS: CYCNLi35.86A.0049.2021.0324.1524
ME: 12.0.81.1753
Note: Memory Controller is observed to change memory frequencies and timings on the fly
@svmlegacy
svmlegacy / 01.EC5509-20210625-v
Last active January 24, 2022 01:36
CoreFreq 1.87.0: 2x Intel Xeon EC5509 SLBWM
1.87.0
@maggocnx
maggocnx / timertest.c
Created July 8, 2013 07:37
Timer example
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/hrtimer.h>
#include <linux/ktime.h>
unsigned long timer_interval_ns = 1e6;
static struct hrtimer hr_timer;
enum hrtimer_restart timer_callback( struct hrtimer *timer_for_restart )
{
@martinsik
martinsik / index.html
Created September 6, 2012 10:03
Simple WebSocket server based on libwebsockets. For full description read http://martinsikora.com/libwebsockets-simple-websocket-server
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
window.WebSocket = window.WebSocket || window.MozWebSocket;
var websocket = new WebSocket('ws://127.0.0.1:9000',
@svmlegacy
svmlegacy / AMD Ryzen 7 5800X3D
Created October 29, 2022 00:01
AMD Ryzen 7 5800X3D - Corefreq
Corefreq-cli Version:
1.92.3
Fri 28 Oct 2022 08:00:08 PM EDT
* master
1.89.3-302-g175cfc9
corefreq-cli -s
Processor [AMD Ryzen 7 5800X3D 8-Core Processor]
|- Architecture [Zen3/Vermeer]
Corefreq-cli Version:
1.92.3
Mon Oct 24 09:37:48 PM EDT 2022
* master
1.89.3-302-g175cfc9
corefreq-cli -s
Processor [Intel(R) Pentium(R) CPU N3700 @ 1.60GHz]
|- Architecture [Atom/Airmont]
Intel Pentium Silver N5000 @ 1.10 GHz
@andrejbauer
andrejbauer / mandelbrot.c
Created December 11, 2013 22:23
A simple program for computing the Mandelbrot set.
/*
This program is an adaptation of the Mandelbrot program
from the Programming Rosetta Stone, see
http://rosettacode.org/wiki/Mandelbrot_set
Compile the program with:
gcc -o mandelbrot -O4 mandelbrot.c
Usage:
http://invisible-island.net/xterm/
XTerm Control Sequences
Edward Moy
University of California, Berkeley
Revised by