From 1f29aedcb09ec7ed37793d554c3410ae1d2f44f8 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 16 Dec 2021 20:06:15 +0500 Subject: [PATCH] Add summary to README.md --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 10250fe..849bb13 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,9 @@ Table of contents * [Cross](#cross) * [Portability](#portability) * [Discussion](#discussion) +* [Summary](#summary) + * [Pure code size](#pure-code-size) + * [Used header files](#used-header-files) @@ -198,3 +201,35 @@ Discussion * [Topic on OSDev.org forum](https://forum.osdev.org/viewtopic.php?f=1&t=37958) * [Thread on r/osdev](https://www.reddit.com/r/osdev/comments/k3ueeu/libkernaux_auxiliary_library_for_kernel/) + + + +Summary +------- + +This information is updated from time to time. + +### Pure code size + +`cloc --vcs=git include/ src/` + +``` +------------------------------------------------------------------------------- +Language files blank comment code +------------------------------------------------------------------------------- +C 12 236 19 1548 +C/C++ Header 14 179 64 597 +Assembly 2 7 6 28 +make 1 0 0 13 +------------------------------------------------------------------------------- +SUM: 29 422 89 2186 +------------------------------------------------------------------------------- +``` + +### Used header files + +`git grep '#include <' -- include/ src/ | grep -v '#include