]> gitweb.factorcode.org Git - factor.git/commitdiff
cpu.x86.features-docs: add some help on instruction-count
authorAlexander Iljin <ajsoft@yandex.ru>
Fri, 25 Aug 2017 22:34:26 +0000 (01:34 +0300)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 22 Jan 2018 15:58:17 +0000 (07:58 -0800)
basis/cpu/x86/features/features-docs.factor [new file with mode: 0644]

diff --git a/basis/cpu/x86/features/features-docs.factor b/basis/cpu/x86/features/features-docs.factor
new file mode 100644 (file)
index 0000000..7caaa7e
--- /dev/null
@@ -0,0 +1,16 @@
+! Copyright (C) 2017 Alexander Ilin.
+! See http://factorcode.org/license.txt for BSD license.
+USING: help.markup help.syntax kernel math quotations strings ;
+IN: cpu.x86.features
+
+HELP: instruction-count
+{ $values
+    { "n" number }
+}
+{ $description "The word returns the CPU's Timestamp Counter: " { $url "http://en.wikipedia.org/wiki/Time_Stamp_Counter" } "." } ;
+
+ARTICLE: "cpu.x86.features" "cpu.x86.features"
+{ $vocab-link "cpu.x86.features" }
+;
+
+ABOUT: "cpu.x86.features"