open-index/open-npm huggingface dataset:
npm package: 68kcounter
Description: 68000 ASM source code cycle counter
Author: Graham Bates
Latest version: 3.2.1

![Logo](images/icon.png)

# 68k Counter

Analyses 68000 assembly source to profile resource and size data. For each instruction it will tell you.

- CPU cycles
- Bus read cycles
- Bus write cycles
- Size in bytes

## Usage:

### Web app

You can try out the tool in a <a href="https://68kcounter-web.vercel.app/">web-based version</a>.

### CLI

To analyse a source file run:

`npx 68kcounter mysource.s`

This will output each line prefixed with profile data in the following format:

`[cycles]([reads]/[writes]) [size]`

See `npx 68kcounter --help` for more options.

### VS Code extension

Available as <a href="https://marketplace.visualstudio.com/items?itemName=gigabates.68kcounter">VS Code extension</a> to provide live annotations and totals.

![Output window screenshot](https://github.com/grahambates/68kcounter-vscode/raw/HEAD/images/demo.gif)

## Limitations:

- Because it analyses your pre-assembled source, it can't take into account
  optimisations made by your assembler.
- Total timings for a whole file are pretty meaningless as it doesn't take
  into account branching etc, but it can be useful for smaller blocks.
- While it adds profile information inside any macro definitions, it doesn't
  currently process macro invocations
- Where timings are based on an 'n' multiplier from an immediate value, it
  will parse simple expressions but doesn't currently substitute constants
  defined elsewhere.
npm package: 69
Description: nice(2) bindings for Node.js
Author: Anna Henningsen
Latest version: 2.0.2

# 69 – nice(2) bindings for Node.js

https://linux.die.net/man/2/nice as a JS function. That’s it, that’s the module.

```js
const nice = require('69');
nice(5);  // Increase niceness by 5.
```

(This is an alias of [nice-napi](https://github.com/addaleax/nice-napi), if you happen to need a more safe-for-work name. 🙂)